Peg |
public class PegByteParser : PegBaseParser
The PegByteParser type exposes the following members.
| Name | Description | |
|---|---|---|
| PegByteParser | Initializes a new instance of the PegByteParser class. | |
| PegByteParser(Byte) | Initializes a new instance of the PegByteParser class. | |
| PegByteParser(Byte, TextWriter) | Initializes a new instance of the PegByteParser class. |
| Name | Description | |
|---|---|---|
| And |
Performs a positive lookahead with tree rollback support.
(Inherited from PegBaseParser) | |
| Any |
Matches any single source element.
(Inherited from PegBaseParser) | |
| Bit | Matches the specified single bit against an exact value. | |
| Bits(Int32, Int32, PegByteParserBytesetData) | Matches the specified bit range against a byte set. | |
| Bits(Int32, Int32, Byte) | Matches the specified bit range against an exact value. | |
| BitsInto(Int32, Int32, Int32) | Reads the specified bit range into an integer. | |
| BitsInto(Int32, Int32, PegByteParserBytesetData, Int32) | Reads the specified bit range into an integer and tests it against a byte set. | |
| Char(Byte) | Matches the specified byte literal. | |
| Char(Byte) | Matches the specified byte sequence. | |
| Char(Byte, Byte) | Matches the specified two-byte literal. | |
| Char(Byte, Byte, Byte) | Matches the specified three-byte literal. | |
| Char(Byte, Byte, Byte, Byte) | Matches the specified four-byte literal. | |
| Char(Byte, Byte, Byte, Byte, Byte) | Matches the specified five-byte literal. | |
| Char(Byte, Byte, Byte, Byte, Byte, Byte) | Matches the specified six-byte literal. | |
| Char(Byte, Byte, Byte, Byte, Byte, Byte, Byte) | Matches the specified seven-byte literal. | |
| Char(Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte) | Matches the specified eight-byte literal. | |
| Construct(TextWriter) |
Reinitializes the parser.
(Inherited from PegBaseParser) | |
| Construct(Byte, TextWriter) | Reinitializes the parser with the specified source and error writer. | |
| DefaultNodeCreator |
Creates a default parse tree node.
(Inherited from PegBaseParser) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Fatal | Reports a fatal parser error. | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| ForRepeat(Int32, PegBaseParserMatcher) |
Matches the specified expression an exact number of times.
(Inherited from PegBaseParser) | |
| ForRepeat(Int32, Int32, PegBaseParserMatcher) |
Matches the specified expression within the provided repetition range.
(Inherited from PegBaseParser) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetProperties |
Gets the file loading properties expected by the parser.
(Inherited from PegBaseParser) | |
| GetRoot |
Gets the root node of the parse tree.
(Inherited from PegBaseParser) | |
| GetRuleNameFromId |
Gets the rule name for the specified identifier.
(Inherited from PegBaseParser) | |
| GetSource | Gets the current source data. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IChar(Byte) | Matches the specified byte literal case-insensitively. | |
| IChar(Byte) | Matches the specified byte sequence case-insensitively. | |
| IChar(Byte, Byte) | Matches the specified two-byte literal case-insensitively. | |
| IChar(Byte, Byte, Byte) | Matches the specified three-byte literal case-insensitively. | |
| IChar(Byte, Byte, Byte, Byte) | Matches the specified four-byte literal case-insensitively. | |
| IChar(Byte, Byte, Byte, Byte, Byte) | Matches the specified five-byte literal case-insensitively. | |
| IChar(Byte, Byte, Byte, Byte, Byte, Byte) | Matches the specified six-byte literal case-insensitively. | |
| IChar(Byte, Byte, Byte, Byte, Byte, Byte, Byte) | Matches the specified seven-byte literal case-insensitively. | |
| In(Byte) | Matches a byte within any of the inclusive ranges defined by the array. | |
| In(Byte, Byte) | Matches a byte within the specified inclusive range. | |
| In(Byte, Byte, Byte, Byte) | Matches a byte within either of the specified inclusive ranges. | |
| In(Byte, Byte, Byte, Byte, Byte, Byte) | Matches a byte within any of the specified inclusive ranges. | |
| In(Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte) | Matches a byte within any of the specified inclusive ranges. | |
| Into(PegBaseParserMatcher, PegBegEnd) | Captures the source range matched by the specified matcher. | |
| Into(PegBaseParserMatcher, Byte) | Captures the bytes matched by the specified matcher. | |
| Into(PegBaseParserMatcher, Double) | Captures the bytes matched by the specified matcher and converts them to a double. | |
| Into(PegBaseParserMatcher, Int32) | Captures the bytes matched by the specified matcher and converts them to an integer. | |
| IntoBits(Int32, Int32, Int32) | Reads the specified bit range into an integer. | |
| IntoBits(Int32, Int32, PegByteParserBytesetData, Int32) | Reads the specified bit range into an integer and tests it against a byte set. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Not |
Performs a negative lookahead match without consuming input.
(Inherited from PegBaseParser) | |
| NotBit | Tests whether the specified single bit does not match an exact value without consuming input. | |
| NotBits | Tests whether the specified bit range does not match an exact value without consuming input. | |
| NotIn | Matches a byte outside all inclusive ranges defined by the array. | |
| NotOneOf | Matches any byte not contained in the specified array. | |
| OneOf(Byte) | Matches any byte contained in the specified array. | |
| OneOf(PegByteParserBytesetData) | Matches any byte contained in the specified optimized byte set. | |
| OneOf(Byte, Byte) | Matches one of the specified bytes. | |
| OneOf(Byte, Byte, Byte) | Matches one of the specified bytes. | |
| OneOf(Byte, Byte, Byte, Byte) | Matches one of the specified bytes. | |
| OneOf(Byte, Byte, Byte, Byte, Byte) | Matches one of the specified bytes. | |
| OneOf(Byte, Byte, Byte, Byte, Byte, Byte) | Matches one of the specified bytes. | |
| OneOf(Byte, Byte, Byte, Byte, Byte, Byte, Byte) | Matches one of the specified bytes. | |
| OneOf(Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte) | Matches one of the specified bytes. | |
| Option |
Optionally matches the specified expression.
(Inherited from PegBaseParser) | |
| OptRepeat |
Matches zero or more repetitions.
(Inherited from PegBaseParser) | |
| Peek |
Performs a lookahead match without consuming input.
(Inherited from PegBaseParser) | |
| PeekBit | Tests whether the specified single bit matches an exact value without consuming input. | |
| PeekBits | Tests whether the specified bit range matches an exact value without consuming input. | |
| PlusRepeat |
Matches one or more repetitions.
(Inherited from PegBaseParser) | |
| ResetTree |
Clears the parse tree.
(Inherited from PegBaseParser) | |
| Rewind |
Resets the current parser position to the beginning of the source.
(Inherited from PegBaseParser) | |
| SetErrorDestination |
Sets the destination for parser diagnostics.
(Inherited from PegBaseParser) | |
| SetNodeCreator |
Sets the callback used to create parse tree nodes.
(Inherited from PegBaseParser) | |
| SetSource | Sets the current source data. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| ToUpper | Converts an ASCII lowercase byte to uppercase. | |
| TreeAST(PegBaseParserMatcher) |
Matches an anonymous abstract syntax tree node and stores it in the parse tree.
(Inherited from PegBaseParser) | |
| TreeAST(PegBaseParserCreator, PegBaseParserMatcher) |
Matches an anonymous abstract syntax tree node and stores it in the parse tree.
(Inherited from PegBaseParser) | |
| TreeAST(Int32, PegBaseParserMatcher) |
Matches an abstract syntax tree node and stores it in the parse tree.
(Inherited from PegBaseParser) | |
| TreeAST(PegBaseParserCreator, Int32, PegBaseParserMatcher) |
Matches an abstract syntax tree node and stores it in the parse tree.
(Inherited from PegBaseParser) | |
| TreeChars(PegBaseParserMatcher) |
Matches character data and stores it as an anonymous tree node.
(Inherited from PegBaseParser) | |
| TreeChars(PegBaseParserCreator, PegBaseParserMatcher) |
Matches character data and stores it as an anonymous tree node.
(Inherited from PegBaseParser) | |
| TreeCharsWithId(Int32, PegBaseParserMatcher) |
Matches character data and stores it using the specified node identifier.
(Inherited from PegBaseParser) | |
| TreeCharsWithId(PegBaseParserCreator, Int32, PegBaseParserMatcher) |
Matches character data and stores it using the specified creator and node identifier.
(Inherited from PegBaseParser) | |
| TreeNodeToString |
Converts the specified tree node to a display string.
(Inherited from PegBaseParser) | |
| TreeNT(PegBaseParserMatcher) |
Matches an anonymous nonterminal and stores it in the parse tree.
(Inherited from PegBaseParser) | |
| TreeNT(PegBaseParserCreator, PegBaseParserMatcher) |
Matches an anonymous nonterminal and stores it in the parse tree.
(Inherited from PegBaseParser) | |
| TreeNT(Int32, PegBaseParserMatcher) |
Matches a nonterminal and stores it in the parse tree.
(Inherited from PegBaseParser) | |
| TreeNT(PegBaseParserCreator, Int32, PegBaseParserMatcher) |
Matches a nonterminal and stores it in the parse tree.
(Inherited from PegBaseParser) | |
| Warning | Reports a parser warning. |
| Name | Description | |
|---|---|---|
| bMute_ |
A value indicating whether tree creation is muted.
(Inherited from PegBaseParser) | |
| errOut_ |
The writer used for parser diagnostics.
(Inherited from PegBaseParser) | |
| nodeCreator_ |
The callback used to create tree nodes.
(Inherited from PegBaseParser) | |
| pos_ |
The current parser position.
(Inherited from PegBaseParser) | |
| src_ | The current binary source. | |
| srcLen_ |
The length of the current source.
(Inherited from PegBaseParser) |