Class Parser

Implements the parsing functionality for the parse function. If you are using a custom ParserInfo many times in the same program, you can avoid unnecessary allocations by using the Parser.parse function directly.

Inherits from

  • Object (base class)

Constructors

Name Description
this

Fields

Name Type Description
info ParserInfo

Methods

Name Description
parse This function has the same functionality as the free version of parse. The only difference is this will use your custom ParserInfo or allocator if provided.
parseImpl Private method which performs the heavy lifting of parsing, called from parse.
parseMS Parse a I[.F] seconds value into (seconds, microseconds)
setAttribute

Parameters

NameDescription
Allocator the allocator type to use
parserInfo the parser info to reference when parsing

Authors

Copyright

License