Click or drag to resize

PegByteParser Class

Provides PEG parsing support for binary input.
Inheritance Hierarchy
SystemObject
  Altaxo.Main.PegParserPegBaseParser
    Altaxo.Main.PegParserPegByteParser

Namespace: Altaxo.Main.PegParser
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class PegByteParser : PegBaseParser

The PegByteParser type exposes the following members.

Constructors
 NameDescription
Public methodPegByteParser Initializes a new instance of the PegByteParser class.
Public methodPegByteParser(Byte) Initializes a new instance of the PegByteParser class.
Public methodPegByteParser(Byte, TextWriter) Initializes a new instance of the PegByteParser class.
Top
Methods
 NameDescription
Public methodAnd Performs a positive lookahead with tree rollback support.
(Inherited from PegBaseParser)
Public methodAny Matches any single source element.
(Inherited from PegBaseParser)
Public methodBit Matches the specified single bit against an exact value.
Public methodBits(Int32, Int32, PegByteParserBytesetData) Matches the specified bit range against a byte set.
Public methodBits(Int32, Int32, Byte) Matches the specified bit range against an exact value.
Public methodBitsInto(Int32, Int32, Int32) Reads the specified bit range into an integer.
Public methodBitsInto(Int32, Int32, PegByteParserBytesetData, Int32) Reads the specified bit range into an integer and tests it against a byte set.
Public methodChar(Byte) Matches the specified byte literal.
Public methodChar(Byte) Matches the specified byte sequence.
Public methodChar(Byte, Byte) Matches the specified two-byte literal.
Public methodChar(Byte, Byte, Byte) Matches the specified three-byte literal.
Public methodChar(Byte, Byte, Byte, Byte) Matches the specified four-byte literal.
Public methodChar(Byte, Byte, Byte, Byte, Byte) Matches the specified five-byte literal.
Public methodChar(Byte, Byte, Byte, Byte, Byte, Byte) Matches the specified six-byte literal.
Public methodChar(Byte, Byte, Byte, Byte, Byte, Byte, Byte) Matches the specified seven-byte literal.
Public methodChar(Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte) Matches the specified eight-byte literal.
Public methodConstruct(TextWriter) Reinitializes the parser.
(Inherited from PegBaseParser)
Public methodConstruct(Byte, TextWriter) Reinitializes the parser with the specified source and error writer.
Protected methodDefaultNodeCreator Creates a default parse tree node.
(Inherited from PegBaseParser)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodFatal Reports a fatal parser error.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodForRepeat(Int32, PegBaseParserMatcher) Matches the specified expression an exact number of times.
(Inherited from PegBaseParser)
Public methodForRepeat(Int32, Int32, PegBaseParserMatcher) Matches the specified expression within the provided repetition range.
(Inherited from PegBaseParser)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetProperties Gets the file loading properties expected by the parser.
(Inherited from PegBaseParser)
Public methodGetRoot Gets the root node of the parse tree.
(Inherited from PegBaseParser)
Public methodGetRuleNameFromId Gets the rule name for the specified identifier.
(Inherited from PegBaseParser)
Public methodGetSource Gets the current source data.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIChar(Byte) Matches the specified byte literal case-insensitively.
Public methodIChar(Byte) Matches the specified byte sequence case-insensitively.
Public methodIChar(Byte, Byte) Matches the specified two-byte literal case-insensitively.
Public methodIChar(Byte, Byte, Byte) Matches the specified three-byte literal case-insensitively.
Public methodIChar(Byte, Byte, Byte, Byte) Matches the specified four-byte literal case-insensitively.
Public methodIChar(Byte, Byte, Byte, Byte, Byte) Matches the specified five-byte literal case-insensitively.
Public methodIChar(Byte, Byte, Byte, Byte, Byte, Byte) Matches the specified six-byte literal case-insensitively.
Public methodIChar(Byte, Byte, Byte, Byte, Byte, Byte, Byte) Matches the specified seven-byte literal case-insensitively.
Public methodIn(Byte) Matches a byte within any of the inclusive ranges defined by the array.
Public methodIn(Byte, Byte) Matches a byte within the specified inclusive range.
Public methodIn(Byte, Byte, Byte, Byte) Matches a byte within either of the specified inclusive ranges.
Public methodIn(Byte, Byte, Byte, Byte, Byte, Byte) Matches a byte within any of the specified inclusive ranges.
Public methodIn(Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte) Matches a byte within any of the specified inclusive ranges.
Public methodInto(PegBaseParserMatcher, PegBegEnd) Captures the source range matched by the specified matcher.
Public methodInto(PegBaseParserMatcher, Byte) Captures the bytes matched by the specified matcher.
Public methodInto(PegBaseParserMatcher, Double) Captures the bytes matched by the specified matcher and converts them to a double.
Public methodInto(PegBaseParserMatcher, Int32) Captures the bytes matched by the specified matcher and converts them to an integer.
Public methodIntoBits(Int32, Int32, Int32) Reads the specified bit range into an integer.
Public methodIntoBits(Int32, Int32, PegByteParserBytesetData, Int32) Reads the specified bit range into an integer and tests it against a byte set.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodNot Performs a negative lookahead match without consuming input.
(Inherited from PegBaseParser)
Public methodNotBit Tests whether the specified single bit does not match an exact value without consuming input.
Public methodNotBits Tests whether the specified bit range does not match an exact value without consuming input.
Public methodNotIn Matches a byte outside all inclusive ranges defined by the array.
Public methodNotOneOf Matches any byte not contained in the specified array.
Public methodOneOf(Byte) Matches any byte contained in the specified array.
Public methodOneOf(PegByteParserBytesetData) Matches any byte contained in the specified optimized byte set.
Public methodOneOf(Byte, Byte) Matches one of the specified bytes.
Public methodOneOf(Byte, Byte, Byte) Matches one of the specified bytes.
Public methodOneOf(Byte, Byte, Byte, Byte) Matches one of the specified bytes.
Public methodOneOf(Byte, Byte, Byte, Byte, Byte) Matches one of the specified bytes.
Public methodOneOf(Byte, Byte, Byte, Byte, Byte, Byte) Matches one of the specified bytes.
Public methodOneOf(Byte, Byte, Byte, Byte, Byte, Byte, Byte) Matches one of the specified bytes.
Public methodOneOf(Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte) Matches one of the specified bytes.
Public methodOption Optionally matches the specified expression.
(Inherited from PegBaseParser)
Public methodOptRepeat Matches zero or more repetitions.
(Inherited from PegBaseParser)
Public methodPeek Performs a lookahead match without consuming input.
(Inherited from PegBaseParser)
Public methodPeekBit Tests whether the specified single bit matches an exact value without consuming input.
Public methodPeekBits Tests whether the specified bit range matches an exact value without consuming input.
Public methodPlusRepeat Matches one or more repetitions.
(Inherited from PegBaseParser)
Public methodResetTree Clears the parse tree.
(Inherited from PegBaseParser)
Public methodRewind Resets the current parser position to the beginning of the source.
(Inherited from PegBaseParser)
Public methodSetErrorDestination Sets the destination for parser diagnostics.
(Inherited from PegBaseParser)
Public methodSetNodeCreator Sets the callback used to create parse tree nodes.
(Inherited from PegBaseParser)
Public methodSetSource Sets the current source data.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodStatic memberToUpper Converts an ASCII lowercase byte to uppercase.
Public methodTreeAST(PegBaseParserMatcher) Matches an anonymous abstract syntax tree node and stores it in the parse tree.
(Inherited from PegBaseParser)
Public methodTreeAST(PegBaseParserCreator, PegBaseParserMatcher) Matches an anonymous abstract syntax tree node and stores it in the parse tree.
(Inherited from PegBaseParser)
Public methodTreeAST(Int32, PegBaseParserMatcher) Matches an abstract syntax tree node and stores it in the parse tree.
(Inherited from PegBaseParser)
Public methodTreeAST(PegBaseParserCreator, Int32, PegBaseParserMatcher) Matches an abstract syntax tree node and stores it in the parse tree.
(Inherited from PegBaseParser)
Public methodTreeChars(PegBaseParserMatcher) Matches character data and stores it as an anonymous tree node.
(Inherited from PegBaseParser)
Public methodTreeChars(PegBaseParserCreator, PegBaseParserMatcher) Matches character data and stores it as an anonymous tree node.
(Inherited from PegBaseParser)
Public methodTreeCharsWithId(Int32, PegBaseParserMatcher) Matches character data and stores it using the specified node identifier.
(Inherited from PegBaseParser)
Public methodTreeCharsWithId(PegBaseParserCreator, Int32, PegBaseParserMatcher) Matches character data and stores it using the specified creator and node identifier.
(Inherited from PegBaseParser)
Public methodTreeNodeToString Converts the specified tree node to a display string.
(Inherited from PegBaseParser)
Public methodTreeNT(PegBaseParserMatcher) Matches an anonymous nonterminal and stores it in the parse tree.
(Inherited from PegBaseParser)
Public methodTreeNT(PegBaseParserCreator, PegBaseParserMatcher) Matches an anonymous nonterminal and stores it in the parse tree.
(Inherited from PegBaseParser)
Public methodTreeNT(Int32, PegBaseParserMatcher) Matches a nonterminal and stores it in the parse tree.
(Inherited from PegBaseParser)
Public methodTreeNT(PegBaseParserCreator, Int32, PegBaseParserMatcher) Matches a nonterminal and stores it in the parse tree.
(Inherited from PegBaseParser)
Public methodWarning Reports a parser warning.
Top
Fields
 NameDescription
Protected fieldbMute_ A value indicating whether tree creation is muted.
(Inherited from PegBaseParser)
Protected fielderrOut_ The writer used for parser diagnostics.
(Inherited from PegBaseParser)
Protected fieldnodeCreator_ The callback used to create tree nodes.
(Inherited from PegBaseParser)
Protected fieldpos_ The current parser position.
(Inherited from PegBaseParser)
Protected fieldsrc_ The current binary source.
Protected fieldsrcLen_ The length of the current source.
(Inherited from PegBaseParser)
Top
See Also