import ParsingDfa16Table from "./parsing_dfa_16table.js"; /** * DFA based parser to match a real number, including scientific. */ export default class RealParser extends ParsingDfa16Table { /** * Construct the DFA table. */ constructor(); /** * Match a signed real and returned the updated cursor position or undefined if no match is found * * @param input The input buffer to match against. * @param cursor The cursor to test the match against. * @param endCursor The end point to look at in the buffer. * @return {number | undefined} The end of the match or undefined if none found. */ signed: (input: Uint8Array, cursor: number, endCursor: number) => number | undefined; /** * Match an unsigned real and return the updated cursor position or undefined if no match is found * * @param input The input buffer to match against. * @param cursor The cursor to test the match against. * @param endCursor The end point to look at in the buffer. * @return {number | undefined} The end of the match or undefined if none found. */ unsigned: (input: Uint8Array, cursor: number, endCursor: number) => number | undefined; static readonly Instance: RealParser; } //# sourceMappingURL=real_parser.d.ts.map