Overview
Project
Class
Tree
Deprecated
Index
Grammatica 1.5 Documentation
FRAMES
NO FRAMES
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
A
Add(char,bool,DFAState)
- member function in class
TransitionTree
Adds a transition to this tree.
Add(int)
- member function in class
LookAheadSet
Adds a new token sequence with a single token to this set.
AddAll(LookAheadSet)
- member function in class
LookAheadSet
Adds all the token sequences from a specified set.
AddAlternative(ProductionPatternAlternative)
- member function in class
ProductionPattern
Adds a production pattern alternative.
AddCharacter(char)
- member function in class
NFACharRangeTransition
Adds a single character to this character set.
AddCharacter(char)
- member function in class
CharacterSetElement
Adds a single character to this character set.
AddCharacters(string)
- member function in class
CharacterSetElement
Adds multiple characters to this character set.
AddCharacters(StringElement)
- member function in class
CharacterSetElement
Adds multiple characters to this character set.
AddCharacterSet(CharacterSetElement)
- member function in class
CharacterSetElement
Adds a character subset to this character set.
AddChild(Node)
- member function in class
Production
Adds a child node.
AddElement(ProductionPatternElement)
- member function in class
ProductionPatternAlternative
Adds a production pattern element to this alternative.
AddElement(ProductionPatternElement,int,int)
- member function in class
ProductionPatternAlternative
Adds a production pattern element to this alternative.
AddEmpty()
- member function in class
LookAheadSet
Adds an empty token sequence to this set.
AddError(ParseException)
- member function in class
ParserLogException
Adds a parse error to the log.
AddError(ParseException,bool)
- member function in class
Parser
Adds an error to the error log.
AddIn(NFATransition)
- member function in class
NFAState
Adds a new incoming transition.
AddLast(NFAState)
- member function in class
NFAStateQueue
Adds a new entry at the end of the queue.
AddMatch(string,bool,TokenPattern)
- member function in class
TokenStringDFA
Adds a string match to this automaton.
AddNode(Production,Node)
- member function in class
Parser
Handles the parser adding a child node to a production.
AddOut(char,bool,NFAState)
- member function in class
NFAState
Adds a new outgoing character transition.
AddOut(NFATransition)
- member function in class
NFAState
Adds a new outgoing transition.
AddPattern(ProductionPattern)
- member function in class
Parser
Adds a new production pattern to the parser.
AddPattern(ProductionPattern)
- member function in class
RecursiveDescentParser
Adds a new production pattern to the parser.
AddPattern(TokenPattern)
- member function in class
NFAMatcher
Adds a token pattern to this matcher.
AddPattern(TokenPattern)
- member function in class
RegExpMatcher
Adds a regular expression token pattern to this matcher.
AddPattern(TokenPattern)
- member function in class
StringDFAMatcher
Adds a string token pattern to this matcher.
AddPattern(TokenPattern)
- member function in class
TokenMatcher
Adds a string token pattern to this matcher.
AddPattern(TokenPattern)
- member function in class
Tokenizer
Adds a new token pattern to the tokenizer.
AddProduction(int,int,int)
- member function in class
ProductionPatternAlternative
Adds a production to this alternative.
AddRange(char,char)
- member function in class
NFACharRangeTransition
Adds a character range to this character set.
AddRange(char,char)
- member function in class
CharacterSetElement
Adds a character range to this character set.
AddRegExpMatch(string,bool,TokenPattern)
- member function in class
TokenNFA
Adds a regular expression match to this automaton.
AddTextMatch(string,bool,TokenPattern)
- member function in class
TokenNFA
Adds a string match to this automaton.
AddToken(int,int,int)
- member function in class
ProductionPatternAlternative
Adds a token to this alternative.
AddValue(object)
- member function in class
Node
Deprecated.
Use the Values property and the Values.Add method instead.
AddValues(ArrayList)
- member function in class
Node
Deprecated.
Use the Values property and the Values.AddRange method instead.
AlternativeElement
- class in
PerCederberg.Grammatica.Runtime.RE
A regular expression alternative element.
AlternativeElement(Element,Element)
- constructor in class
AlternativeElement
Creates a new alternative element.
ANALYSIS
- field in enum
ParseException.ErrorType
The analysis error type is used when an error is encountered in the analysis.
Analyze(Node)
- member function in class
Analyzer
Analyzes a parse tree node by traversing all it's child nodes.
Analyzer
- class in
PerCederberg.Grammatica.Runtime
A parse tree analyzer.
Analyzer
- member variable in class
Parser
The analyzer property (read-only).
Analyzer()
- constructor in class
Analyzer
Creates a new parse tree analyzer.
B
BLOCK_SIZE
- member variable in class
ReaderBuffer
The stream reading block size.
C
CharacterSetElement
- class in
PerCederberg.Grammatica.Runtime.RE
A regular expression character set element.
CharacterSetElement(bool)
- constructor in class
CharacterSetElement
Creates a new character set element.
CharacterSetElement.Range
- class in
PerCederberg.Grammatica.Runtime.RE
A character range class.
Child(Production,Node)
- member function in class
Analyzer
Called when adding a child to a parse tree node.
Clear()
- member function in class
NFAStateQueue
Clears this queue.
Clear()
- member function in class
RecursiveDescentParser.CallStack
Clears the stack.
Clear()
- member function in class
TokenMatch
Clears the current match information.
Clone()
- member function in class
AlternativeElement
Creates a copy of this element.
Clone()
- member function in class
CharacterSetElement
Returns this element as the character set shouldn't be modified after creation.
Clone()
- member function in class
CombineElement
Creates a copy of this element.
Clone()
- member function in class
Element
Creates a copy of this element.
Clone()
- member function in class
RepeatElement
Creates a copy of this element.
Clone()
- member function in class
StringElement
Returns this element as it is immutable.
Column
- member variable in class
ParseException
The column number property (read-only).
ColumnNumber
- member variable in class
ReaderBuffer
The current column number property (read-only).
CombineElement
- class in
PerCederberg.Grammatica.Runtime.RE
A regular expression combination element.
CombineElement(Element,Element)
- constructor in class
CombineElement
Creates a new combine element.
Concat(int,Sequence)
- member function in class
LookAheadSet.Sequence
Creates a new token sequence that is the concatenation of this sequence and another.
Contains(string)
- member function in class
RecursiveDescentParser.CallStack
Checks if the specified name is on the stack.
Contains(string,int)
- member function in class
RecursiveDescentParser.CallStack
Checks if the specified name and value combination is on the stack.
Copy(NFAState)
- member function in class
NFACharRangeTransition
Creates a copy of this transition but with another target state.
Copy(NFAState)
- member function in class
NFACharTransition
Creates a copy of this transition but with another target state.
Copy(NFAState)
- member function in class
NFADigitTransition
Creates a copy of this transition but with another target state.
Copy(NFAState)
- member function in class
NFADotTransition
Creates a copy of this transition but with another target state.
Copy(NFAState)
- member function in class
NFAEpsilonTransition
Creates a copy of this transition but with another target state.
Copy(NFAState)
- member function in class
NFANonDigitTransition
Creates a copy of this transition but with another target state.
Copy(NFAState)
- member function in class
NFANonWhitespaceTransition
Creates a copy of this transition but with another target state.
Copy(NFAState)
- member function in class
NFANonWordTransition
Creates a copy of this transition but with another target state.
Copy(NFAState)
- member function in class
NFATransition
Creates a copy of this transition but with another target state.
Copy(NFAState)
- member function in class
NFAWhitespaceTransition
Creates a copy of this transition but with another target state.
Copy(NFAState)
- member function in class
NFAWordTransition
Creates a copy of this transition but with another target state.
Count
- member variable in class
Node
The child node count property (read-only).
Count
- member variable in class
ParserLogException
The error count property (read-only).
Count
- member variable in class
Production
The child node count property (read-only).
Count
- member variable in class
ProductionPattern
The production pattern alternative count property (read-only).
Count
- member variable in class
ProductionPatternAlternative
The production pattern element count property (read-only).
CreateCombination(LookAheadSet)
- member function in class
LookAheadSet
Creates a new look-ahead set that is the combination of this set with another set.
CreateFilter(LookAheadSet)
- member function in class
LookAheadSet
Creates a new look-ahead set filter.
CreateIntersection(LookAheadSet)
- member function in class
LookAheadSet
Creates a new look-ahead set that is the intersection of this set with another set.
CreateNextSet(int)
- member function in class
LookAheadSet
Creates a new look-ahead set that is the result of reading the specified token.
CreateOverlaps(LookAheadSet)
- member function in class
LookAheadSet
Creates a new look-ahead set with overlaps from another.
CreateRepetitive()
- member function in class
LookAheadSet
Creates a new identical look-ahead set, except for the repeat flag being set in each token sequence.
D
DebugInfo
- member variable in class
TokenPattern
The token debug info message property.
DefaultAlternative
- member variable in class
ProductionPattern
The default pattern alternative property.
Details
- member variable in class
ParseException
The additional detailed error information property (read-only).
Details
- member variable in class
ParserCreationException
The detailed error information property (read-only).
DFAState
- class in
PerCederberg.Grammatica.Runtime
An automaton state.
DIGIT
- static variable in class
CharacterSetElement
The digit character set.
Dispose()
- member function in class
ReaderBuffer
Discards all resources used by this buffer.
DOT
- static variable in class
CharacterSetElement
The dot ('.') character set.
E
Element
- class in
PerCederberg.Grammatica.Runtime.RE
A regular expression element.
Empty
- member variable in class
NFAStateQueue
The empty queue property (read-only).
end
- member variable in class
TokenRegExpParser
The end NFA state for this regular expression.
End()
- member function in class
Matcher
Returns the end position of the latest match.
EndColumn
- member variable in class
Node
The column number property of the last character in this node (read-only).
EndColumn
- member variable in class
Token
The column number property of the last character in this node (read-only).
EndLine
- member variable in class
Node
The line number property of the last character in this node (read-only).
EndLine
- member variable in class
Token
The line number property of the last character in this node (read-only).
Enter(Node)
- member function in class
Analyzer
Called when entering a parse tree node.
EnterNode(Node)
- member function in class
Parser
Handles the parser entering a production.
epsilonOut
- member variable in class
NFAState
The outgoing epsilon transitions flag.
Equals(object)
- member function in class
LookAheadSet.Sequence
Checks if this sequence is equal to another object.
Equals(object)
- member function in class
ProductionPatternAlternative
Checks if this object is equal to another.
Equals(object)
- member function in class
ProductionPatternElement
Checks if this object is equal to another.
Equals(ProductionPatternAlternative)
- member function in class
ProductionPatternAlternative
Checks if this alternative is equal to another.
Equals(Sequence)
- member function in class
LookAheadSet.Sequence
Checks if this sequence is equal to another sequence.
Error
- member variable in class
TokenPattern
The error flag property.
ErrorMessage
- member variable in class
ParseException
The error message property (read-only).
ErrorMessage
- member variable in class
TokenPattern
The token error message property.
Exit(Node)
- member function in class
Analyzer
Called when exiting a parse tree node.
ExitNode(Node)
- member function in class
Parser
Handles the parser leaving a production.
F
Find(char,bool)
- member function in class
TransitionTree
Finds an automaton state from the specified transition character.
G
GetAllValues()
- member function in class
Node
Deprecated.
Use the Values property instead. Note that the Values property will never be null, but possibly empty.
GetAlternative(int)
- member function in class
ProductionPattern
Deprecated.
Use the class indexer instead.
GetAlternativeCount()
- member function in class
ProductionPattern
Deprecated.
Use the Count property instead.
GetAnalyzer()
- member function in class
Parser
Deprecated.
Use the Analyzer property instead.
GetChildAt(int)
- member function in class
Node
Deprecated.
Use the class indexer instead.
GetChildAt(Node,int)
- member function in class
Analyzer
Returns a child at the specified position.
GetChildCount()
- member function in class
Node
Deprecated.
Use the Count property instead.
GetChildValues(Node)
- member function in class
Analyzer
Returns all the node values for all child nodes.
GetChildWithId(Node,int)
- member function in class
Analyzer
Returns the first child with the specified id.
GetColumn()
- member function in class
ParseException
Deprecated.
Use the Column property instead.
GetCurrentColumn()
- member function in class
Tokenizer
Returns the current column number.
GetCurrentLine()
- member function in class
Tokenizer
Returns the current line number.
GetDebugInfo()
- member function in class
TokenRegExpParser
Returns the debug information for the generated NFA.
GetDescendantCount()
- member function in class
Node
Returns the number of descendant nodes.
GetDetails()
- member function in class
ParseException
Deprecated.
Use the Details property instead.
GetDetails()
- member function in class
ParserCreationException
Deprecated.
Use the Details property instead.
GetElement(int)
- member function in class
ProductionPatternAlternative
Deprecated.
Use the class indexer instead.
GetElementCount()
- member function in class
ProductionPatternAlternative
Deprecated.
Use the Count property instead.
GetEndColumn()
- member function in class
Node
Deprecated.
Use the EndColumn property instead.
GetEndLine()
- member function in class
Node
Deprecated.
Use the EndLine property instead.
GetError(int)
- member function in class
ParserLogException
Deprecated.
Use the class indexer instead.
GetErrorCount()
- member function in class
ParserLogException
Deprecated.
Use the Count property instead.
GetErrorMessage()
- member function in class
ParseException
Deprecated.
Use the ErrorMessage property instead.
GetErrorMessage()
- member function in class
TokenPattern
Deprecated.
Use the ErrorMessage property instead.
GetErrorType()
- member function in class
ParseException
Deprecated.
Use the Type property instead.
GetErrorType()
- member function in class
ParserCreationException
Deprecated.
Use the Type property instead.
GetHashCode()
- member function in class
LookAheadSet.Sequence
Returns a hash code for this object.
GetHashCode()
- member function in class
ProductionPatternAlternative
Returns a hash code for this object.
GetHashCode()
- member function in class
ProductionPatternElement
Returns a hash code for this object.
GetId()
- member function in class
Node
Deprecated.
Use the Id property instead.
GetId()
- member function in class
ProductionPattern
Deprecated.
Use the Id property instead.
GetId()
- member function in class
ProductionPatternElement
Deprecated.
Use the Id property instead.
GetId()
- member function in class
TokenPattern
Deprecated.
Use the Id property instead.
GetIgnoreMessage()
- member function in class
TokenPattern
Deprecated.
Use the IgnoreMessage property instead.
GetImage()
- member function in class
Token
Deprecated.
Use the Image property instead.
GetInfo()
- member function in class
ParseException
Deprecated.
Use the Info property instead.
GetInfo()
- member function in class
ParserCreationException
Deprecated.
Use the Info property instead.
GetInitialTokens()
- member function in class
LookAheadSet
Returns a list of the initial token id:s in this look-ahead set.
GetIntValue(Node,int)
- member function in class
Analyzer
Returns the node integer value at the specified position.
GetLine()
- member function in class
ParseException
Deprecated.
Use the Line property instead.
GetMaxCount()
- member function in class
ProductionPatternElement
Deprecated.
Use the MaxCount property instead.
GetMaxElementCount()
- member function in class
ProductionPatternAlternative
Returns the maximum number of elements needed to satisfy this alternative.
GetMaxLength()
- member function in class
LookAheadSet
Returns the length of the longest token sequence in this set.
GetMessage()
- member function in class
ParseException
Deprecated.
Use the Message property instead.
GetMessage()
- member function in class
ParserCreationException
Deprecated.
Use the Message property instead.
GetMessage()
- member function in class
ParserLogException
Deprecated.
Use the Message property instead.
GetMessage()
- member function in class
RegExpException
Returns the exception error message.
GetMinCount()
- member function in class
ProductionPatternElement
Deprecated.
Use the MinCount property instead.
GetMinElementCount()
- member function in class
ProductionPatternAlternative
Returns the minimum number of elements needed to satisfy this alternative.
GetMinLength()
- member function in class
LookAheadSet
Returns the length of the shortest token sequence in this set.
GetName()
- member function in class
Node
Deprecated.
Use the Name property instead.
GetName()
- member function in class
ParserCreationException
Deprecated.
Use the Name property instead.
GetName()
- member function in class
ProductionPattern
Deprecated.
Use the Name property instead.
GetName()
- member function in class
TokenPattern
Deprecated.
Use the Name property instead.
GetNextToken()
- member function in class
Token
Deprecated.
Use the Next property instead.
GetParent()
- member function in class
Node
Deprecated.
Use the Parent property instead.
GetPattern()
- member function in class
Production
Deprecated.
Use the Pattern property instead.
GetPattern()
- member function in class
ProductionPatternAlternative
Deprecated.
Use the Pattern property instead.
GetPattern()
- member function in class
TokenPattern
Deprecated.
Use the Pattern property instead.
GetPattern(int)
- member function in class
Parser
Returns the production pattern with the specified id.
GetPattern(int)
- member function in class
TokenMatcher
Returns the token pattern with the specified id.
GetPatternDescription(int)
- member function in class
Tokenizer
Returns a description of the token pattern with the specified id.
GetPatterns()
- member function in class
Parser
Returns the ordered set of production patterns.
GetPatternType()
- member function in class
TokenPattern
Deprecated.
Use the Type property instead.
GetPreviousToken()
- member function in class
Token
Deprecated.
Use the Previous property instead.
GetStartColumn()
- member function in class
Node
Deprecated.
Use the StartColumn property instead.
GetStartLine()
- member function in class
Node
Deprecated.
Use the StartLine property instead.
GetStartPattern()
- member function in class
Parser
Returns the production pattern for the starting production.
GetString()
- member function in class
StringElement
Returns the string to be matched.
GetStringValue(Node,int)
- member function in class
Analyzer
Returns the node string value at the specified position.
GetToken(int)
- member function in class
LookAheadSet.Sequence
Returns a token at a specified position in the sequence.
GetTokenDescription(int)
- member function in class
Parser
Returns a token description for a specified token.
GetTokenizer()
- member function in class
Parser
Deprecated.
Use the Tokenizer property instead.
GetUseTokenList()
- member function in class
Tokenizer
Deprecated.
Use the UseTokenList property instead.
GetValue(int)
- member function in class
Node
Deprecated.
Use the Values property and it's array indexer instead.
GetValue(Node,int)
- member function in class
Analyzer
Returns the node value at the specified position.
GetValueCount()
- member function in class
Node
Deprecated.
Use the Values and Values.Count properties instead.
GrammaticaRE
- class in
PerCederberg.Grammatica.Runtime
The Grammatica built-in regular expression handler.
GrammaticaRE(string,bool)
- constructor in class
GrammaticaRE
Creates a new Grammatica regular expression handler.
GREEDY
- field in enum
RepeatElement.RepeatType
The greedy repeat type constant.
H
HasReadEndOfString()
- member function in class
Matcher
Checks if the end of the string was encountered during the last match attempt.
HasTransitions()
- member function in class
NFAState
Checks if this state has any incoming or outgoing transitions.
I
Id
- member variable in class
Node
The node type id property (read-only).
Id
- member variable in class
Production
The node type id property (read-only).
Id
- member variable in class
ProductionPattern
The production pattern identity property (read-only).
Id
- member variable in class
ProductionPatternElement
The node identity property (read-only).
Id
- member variable in class
Token
The node type id property (read-only).
Id
- member variable in class
TokenPattern
The token pattern identity property (read-only).
Ignore
- member variable in class
TokenPattern
The ignore flag property.
ignoreCase
- member variable in class
NFACharRangeTransition
The case-insensitive match flag.
ignoreCase
- member variable in class
TokenMatcher
The ignore character case flag.
IgnoreMessage
- member variable in class
TokenPattern
The token ignore message property.
Image
- member variable in class
Token
The token image property (read-only).
incoming
- member variable in class
NFAState
The incoming transitions to this state.
INFINITE_LOOP
- field in enum
ParserCreationException.ErrorType
The infinite loop error type is used when an infinite loop has been detected in the grammar.
Info
- member variable in class
ParseException
The additional error information property (read-only).
Info
- member variable in class
ParserCreationException
The additional error information property (read-only).
INHERENT_AMBIGUITY
- field in enum
ParserCreationException.ErrorType
The inherent ambiguity error type is used when the set of production patterns (i.e. the grammar) contains ambiguities that cannot be resolved.
Inside(char)
- member function in class
NFACharRangeTransition.Range
Checks if the specified character is inside the range.
Inside(char)
- member function in class
CharacterSetElement.Range
Checks if the specified character is inside the range.
INTERNAL
- field in enum
ParseException.ErrorType
The internal error type is only used to signal an error that is a result of a bug in the parser or tokenizer code.
INTERNAL
- field in enum
ParserCreationException.ErrorType
The internal error type is only used to signal an error that is a result of a bug in the parser or tokenizer code.
Intersects(LookAheadSet)
- member function in class
LookAheadSet
Checks if some token sequence is present in both this set and a specified one.
INVALID_PARSER
- field in enum
ParserCreationException.ErrorType
The invalid parser error type is used when the parser as such is invalid.
INVALID_PRODUCTION
- field in enum
ParserCreationException.ErrorType
The invalid production error type is used when a production pattern is erroneous.
INVALID_REPEAT_COUNT
- field in enum
RegExpException.ErrorType
The invalid repeat count error constant.
INVALID_TOKEN
- field in enum
ParseException.ErrorType
The invalid token error type is used when a token pattern with an error message is matched.
INVALID_TOKEN
- field in enum
ParserCreationException.ErrorType
The invalid token error type is used when a token pattern is erroneous.
inverse
- member variable in class
NFACharRangeTransition
The inverse match flag.
IO
- field in enum
ParseException.ErrorType
The I/O error type is used for stream I/O errors.
IsAscii()
- member function in class
NFACharRangeTransition
Checks if this transition only matches ASCII characters.
IsAscii()
- member function in class
NFACharRangeTransition.Range
Checks if this range only matches ASCII characters
IsAscii()
- member function in class
NFACharTransition
Checks if this transition only matches ASCII characters.
IsAscii()
- member function in class
NFADigitTransition
Checks if this transition only matches ASCII characters.
IsAscii()
- member function in class
NFADotTransition
Checks if this transition only matches ASCII characters.
IsAscii()
- member function in class
NFAEpsilonTransition
Checks if this transition only matches ASCII characters.
IsAscii()
- member function in class
NFANonDigitTransition
Checks if this transition only matches ASCII characters.
IsAscii()
- member function in class
NFANonWhitespaceTransition
Checks if this transition only matches ASCII characters.
IsAscii()
- member function in class
NFANonWordTransition
Checks if this transition only matches ASCII characters.
IsAscii()
- member function in class
NFATransition
Checks if this transition only matches ASCII characters.
IsAscii()
- member function in class
NFAWhitespaceTransition
Checks if this transition only matches ASCII characters.
IsAscii()
- member function in class
NFAWordTransition
Checks if this transition only matches ASCII characters.
IsAsciiOutgoing()
- member function in class
NFAState
Checks if all outgoing transitions only match ASCII characters.
IsCaseInsensitive()
- member function in class
Matcher
Checks if this matcher compares in case-insensitive mode.
IsError()
- member function in class
TokenPattern
Deprecated.
Use the Error property instead.
IsHidden()
- member function in class
Node
Checks if this node is hidden, i.
IsHidden()
- member function in class
Production
Checks if this node is hidden, i.
IsIgnore()
- member function in class
TokenPattern
Deprecated.
Use the Ignore property instead.
IsLeftRecursive()
- member function in class
ProductionPattern
Checks if this pattern is recursive on the left-hand side.
IsLeftRecursive()
- member function in class
ProductionPatternAlternative
Checks if this alternative is recursive on the left-hand side.
IsMatch(Token)
- member function in class
ProductionPatternElement
Checks if a specific token matches this element.
IsMatchingEmpty()
- member function in class
ProductionPattern
Checks if this pattern would match an empty stream of tokens.
IsMatchingEmpty()
- member function in class
ProductionPatternAlternative
Checks if this alternative would match an empty stream of tokens.
IsNext(Parser)
- member function in class
LookAheadSet
Checks if the next token(s) in the parser match any token sequence in this set.
IsNext(Parser)
- member function in class
LookAheadSet.Sequence
Checks if the next token(s) in the parser matches this token sequence.
IsNext(Parser,int)
- member function in class
LookAheadSet
Checks if the next token(s) in the parser match any token sequence in this set.
IsNext(Parser,int)
- member function in class
LookAheadSet.Sequence
Checks if the next token(s) in the parser matches this token sequence.
IsOverlap(LookAheadSet)
- member function in class
LookAheadSet
Checks if another look-ahead set has an overlapping token sequence.
IsProduction()
- member function in class
ProductionPatternElement
Returns true if this element represents a production.
IsRepetitive()
- member function in class
LookAheadSet
Checks if this look-ahead set contains a repetitive token sequence.
IsRepetitive()
- member function in class
LookAheadSet.Sequence
Checks if this token sequence is repetitive.
IsRightRecursive()
- member function in class
ProductionPattern
Checks if this pattern is recursive on the right-hand side.
IsRightRecursive()
- member function in class
ProductionPatternAlternative
Checks if this alternative is recursive on the right-hand side.
IsSyntetic()
- member function in class
ProductionPattern
Deprecated.
Use the Synthetic property instead.
IsToken()
- member function in class
ProductionPatternElement
Returns true if this element represents a token.
L
Length
- member variable in class
ReaderBuffer
The current character buffer length property (read-only).
Length
- member variable in class
TokenMatch
The length of the longest match found (read-only).
Length()
- member function in class
LookAheadSet.Sequence
Returns the length of the token sequence.
Length()
- member function in class
Matcher
Returns the length of the latest match.
Line
- member variable in class
ParseException
The line number property (read-only).
LineNumber
- member variable in class
ReaderBuffer
The current line number property (read-only).
LookAhead
- member variable in class
ProductionPattern
The look-ahead set property.
LookAhead
- member variable in class
ProductionPatternAlternative
The look-ahead set property.
LookAhead
- member variable in class
ProductionPatternElement
The look-ahead set property.
LookAheadSet
- class in
PerCederberg.Grammatica.Runtime
A token look-ahead set.
LookAheadSet(int)
- constructor in class
LookAheadSet
Creates a new look-ahead set with the specified maximum length.
LookAheadSet(int,LookAheadSet)
- constructor in class
LookAheadSet
Creates a duplicate look-ahead set, possibly with a different maximum length.
LookAheadSet.Sequence
- class in
PerCederberg.Grammatica.Runtime
A token sequence.
M
Marked
- member variable in class
NFAStateQueue
The marked first entry property (read-only).
MarkEnd()
- member function in class
NFAStateQueue
Marks the end of the queue.
match
- member variable in class
NFACharTransition
The character to match.
Match(char)
- member function in class
NFACharRangeTransition
Checks if the specified character matches the transition.
Match(char)
- member function in class
NFACharTransition
Checks if the specified character matches the transition.
Match(char)
- member function in class
NFADigitTransition
Checks if the specified character matches the transition.
Match(char)
- member function in class
NFADotTransition
Checks if the specified character matches the transition.
Match(char)
- member function in class
NFAEpsilonTransition
Checks if the specified character matches the transition.
Match(char)
- member function in class
NFANonDigitTransition
Checks if the specified character matches the transition.
Match(char)
- member function in class
NFANonWhitespaceTransition
Checks if the specified character matches the transition.
Match(char)
- member function in class
NFANonWordTransition
Checks if the specified character matches the transition.
Match(char)
- member function in class
NFATransition
Checks if the specified character matches the transition.
Match(char)
- member function in class
NFAWhitespaceTransition
Checks if the specified character matches the transition.
Match(char)
- member function in class
NFAWordTransition
Checks if the specified character matches the transition.
Match(Matcher,ReaderBuffer,int,int)
- member function in class
AlternativeElement
Returns the length of a matching string starting at the specified position.
Match(Matcher,ReaderBuffer,int,int)
- member function in class
CharacterSetElement
Returns the length of a matching string starting at the specified position.
Match(Matcher,ReaderBuffer,int,int)
- member function in class
CombineElement
Returns the length of a matching string starting at the specified position.
Match(Matcher,ReaderBuffer,int,int)
- member function in class
Element
Returns the length of a matching string starting at the specified position.
Match(Matcher,ReaderBuffer,int,int)
- member function in class
RepeatElement
Returns the length of a matching string starting at the specified position.
Match(Matcher,ReaderBuffer,int,int)
- member function in class
StringElement
Returns the length of a matching string starting at the specified position.
Match(ReaderBuffer)
- member function in class
GrammaticaRE
Checks if the start of the input stream matches this regular expression.
Match(ReaderBuffer)
- member function in class
REHandler
Checks if the start of the input stream matches this regular expression.
Match(ReaderBuffer)
- member function in class
SystemRE
Checks if the start of the input stream matches this regular expression.
Match(ReaderBuffer,bool)
- member function in class
TokenStringDFA
Checks if the automaton matches an input stream.
Match(ReaderBuffer,TokenMatch)
- member function in class
NFAMatcher
Searches for matching token patterns at the start of the input stream.
Match(ReaderBuffer,TokenMatch)
- member function in class
RegExpMatcher
Searches for matching token patterns at the start of the input stream.
Match(ReaderBuffer,TokenMatch)
- member function in class
StringDFAMatcher
Searches for matching token patterns at the start of the input stream.
Match(ReaderBuffer,TokenMatch)
- member function in class
TokenMatcher
Searches for matching token patterns at the start of the input stream.
Match(ReaderBuffer,TokenMatch)
- member function in class
TokenNFA
Checks if this NFA matches the specified input text.
MatchEmpty(NFAStateQueue)
- member function in class
NFAState
Adds all the epsilon transition targets to the specified queue.
Matcher
- class in
PerCederberg.Grammatica.Runtime.RE
A regular expression string matcher.
Matcher(Element,ReaderBuffer,bool)
- constructor in class
Matcher
Creates a new matcher with the specified element.
Matcher(ReaderBuffer)
- member function in class
RegExp
Creates a new matcher for the specified look-ahead character input stream.
Matcher(string)
- member function in class
RegExp
Creates a new matcher for the specified string.
MatchFrom(int)
- member function in class
Matcher
Attempts to find a match starting at the specified position in the string.
MatchFromBeginning()
- member function in class
Matcher
Attempts to find a match starting at the beginning of the string.
MatchTransitions(char,NFAStateQueue,bool)
- member function in class
NFAState
Attempts a match on each of the transitions leading from this state.
MaxCount
- member variable in class
ProductionPatternElement
The maximum occurence count property (read-only).
MergeInto(NFAState)
- member function in class
NFAState
Merges all the transitions in this state into another state.
Message
- member variable in class
ParseException
The message property (read-only).
Message
- member variable in class
ParserCreationException
The message property (read-only).
Message
- member variable in class
ParserLogException
The message property (read-only).
Message
- member variable in class
RegExpException
The message property.
MinCount
- member variable in class
ProductionPatternElement
The minimum occurence count property (read-only).
N
Name
- member variable in class
Node
The node name property (read-only).
Name
- member variable in class
ParserCreationException
The token or production name property (read-only).
Name
- member variable in class
Production
The node name property (read-only).
Name
- member variable in class
ProductionPattern
The production pattern name property (read-only).
Name
- member variable in class
Token
The node name property (read-only).
Name
- member variable in class
TokenPattern
The token pattern name property (read-only).
NewAnalyzer()
- member function in class
Parser
Creates a new analyzer for this parser.
NewProduction(ProductionPattern)
- member function in class
Analyzer
Factory method to create a new production node.
NewProduction(ProductionPattern)
- member function in class
Parser
Factory method to create a new production node.
NewToken(TokenPattern,string,int,int)
- member function in class
Tokenizer
Factory method for creating a new token.
NewTokenizer(TextReader)
- member function in class
Parser
Creates a new tokenizer for this parser.
Next
- member variable in class
Token
The next token property.
Next()
- member function in class
Tokenizer
Finds the next token on the stream.
NextToken()
- member function in class
Parser
Reads and consumes the next token in the queue.
NextToken(int)
- member function in class
Parser
Reads and consumes the next token in the queue.
NFACharRangeTransition
- class in
PerCederberg.Grammatica.Runtime
A character range match transition.
NFACharRangeTransition(bool,bool,NFAState)
- constructor in class
NFACharRangeTransition
Creates a new character range transition.
NFACharRangeTransition.Range
- class in
PerCederberg.Grammatica.Runtime
A character range class.
NFACharTransition
- class in
PerCederberg.Grammatica.Runtime
A single character match transition.
NFACharTransition(char,NFAState)
- constructor in class
NFACharTransition
Creates a new character transition.
NFADigitTransition
- class in
PerCederberg.Grammatica.Runtime
The digit character set transition.
NFADigitTransition(NFAState)
- constructor in class
NFADigitTransition
Creates a new digit character set transition.
NFADotTransition
- class in
PerCederberg.Grammatica.Runtime
The dot ('.') character set transition.
NFADotTransition(NFAState)
- constructor in class
NFADotTransition
Creates a new dot character set transition.
NFAEpsilonTransition
- class in
PerCederberg.Grammatica.Runtime
The special epsilon transition.
NFAEpsilonTransition(NFAState)
- constructor in class
NFAEpsilonTransition
Creates a new epsilon transition.
NFAMatcher
- class in
PerCederberg.Grammatica.Runtime
A token pattern matcher using a NFA for both string and regular expression tokens.
NFAMatcher(bool)
- constructor in class
NFAMatcher
Creates a new NFA token matcher.
NFANonDigitTransition
- class in
PerCederberg.Grammatica.Runtime
The non-digit character set transition.
NFANonDigitTransition(NFAState)
- constructor in class
NFANonDigitTransition
Creates a new non-digit character set transition.
NFANonWhitespaceTransition
- class in
PerCederberg.Grammatica.Runtime
The non-whitespace character set transition.
NFANonWhitespaceTransition(NFAState)
- constructor in class
NFANonWhitespaceTransition
Creates a new non-whitespace character set transition.
NFANonWordTransition
- class in
PerCederberg.Grammatica.Runtime
The non-word character set transition.
NFANonWordTransition(NFAState)
- constructor in class
NFANonWordTransition
Creates a new non-word character set transition.
NFAState
- class in
PerCederberg.Grammatica.Runtime
An NFA state.
NFAStateQueue
- class in
PerCederberg.Grammatica.Runtime
An NFA state queue.
NFATransition
- class in
PerCederberg.Grammatica.Runtime
An NFA state transition.
NFATransition(NFAState)
- constructor in class
NFATransition
Creates a new state transition.
NFAWhitespaceTransition
- class in
PerCederberg.Grammatica.Runtime
The whitespace character set transition.
NFAWhitespaceTransition(NFAState)
- constructor in class
NFAWhitespaceTransition
Creates a new whitespace character set transition.
NFAWordTransition
- class in
PerCederberg.Grammatica.Runtime
The word character set transition.
NFAWordTransition(NFAState)
- constructor in class
NFAWordTransition
Creates a new word character set transition.
Node
- class in
PerCederberg.Grammatica.Runtime
An abstract parse tree node.
NON_DIGIT
- static variable in class
CharacterSetElement
The non-digit character set.
NON_WHITESPACE
- static variable in class
CharacterSetElement
The non-whitespace character set.
NON_WORD
- static variable in class
CharacterSetElement
The non-word character set.
O
outgoing
- member variable in class
NFAState
The outgoing transitions from this state.
P
Parent
- member variable in class
Node
The parent node property (read-only).
Parse()
- member function in class
Parser
Parses the token stream and returns a parse tree.
ParseException
- class in
PerCederberg.Grammatica.Runtime
A parse exception.
ParseException(ErrorType,string,ArrayList,int,int)
- constructor in class
ParseException
Creates a new parse exception.
ParseException(ErrorType,string,int,int)
- constructor in class
ParseException
Creates a new parse exception.
ParseException.ErrorType
- enum in
PerCederberg.Grammatica.Runtime
The error type enumeration.
Parser
- class in
PerCederberg.Grammatica.Runtime
A base parser class.
Parser(TextReader)
- constructor in class
Parser
Creates a new parser.
Parser(TextReader,Analyzer)
- constructor in class
Parser
Creates a new parser.
Parser(Tokenizer)
- constructor in class
Parser
Creates a new parser.
Parser(Tokenizer,Analyzer)
- constructor in class
Parser
Creates a new parser.
ParserCreationException
- class in
PerCederberg.Grammatica.Runtime
A parser creation exception.
ParserCreationException(ErrorType,String)
- constructor in class
ParserCreationException
Creates a new parser creation exception.
ParserCreationException(ErrorType,String,String)
- constructor in class
ParserCreationException
Creates a new parser creation exception.
ParserCreationException(ErrorType,String,String,ArrayList)
- constructor in class
ParserCreationException
Creates a new parser creation exception.
ParserCreationException.ErrorType
- enum in
PerCederberg.Grammatica.Runtime
The error type enumeration.
ParserLogException
- class in
PerCederberg.Grammatica.Runtime
A parser log exception.
ParserLogException()
- constructor in class
ParserLogException
Creates a new empty parser log exception.
ParseStart()
- member function in class
Parser
Parses the token stream and returns a parse tree.
ParseStart()
- member function in class
RecursiveDescentParser
Parses the input stream and creates a parse tree.
Pattern
- member variable in class
Production
The production pattern property (read-only).
Pattern
- member variable in class
ProductionPatternAlternative
The production pattern property (read-only).
Pattern
- member variable in class
Token
The token pattern property (read-only).
Pattern
- member variable in class
TokenMatch
The token pattern for the longest match found (read-only).
Pattern
- member variable in class
TokenPattern
The token pattern property (read-only).
patterns
- member variable in class
TokenMatcher
The array of token patterns.
Peek(int)
- member function in class
ReaderBuffer
Returns a character relative to the current position.
PeekToken(int)
- member function in class
Parser
Returns a token from the queue.
Pop()
- member function in class
RecursiveDescentParser.CallStack
Removes the top element of the stack.
Position
- member variable in class
ReaderBuffer
The current buffer position property (read-only).
POSSESSIVE
- field in enum
RepeatElement.RepeatType
The possesive repeat type constant.
Prepare()
- member function in class
Parser
Initializes the parser.
Prepare()
- member function in class
RecursiveDescentParser
Initializes the parser.
Previous
- member variable in class
Token
The previous token property.
PrintTo(StringBuilder,String)
- member function in class
TransitionTree
Prints the automaton tree to the specified string buffer.
PrintTo(TextWriter)
- member function in class
Node
Prints this node and all subnodes to the specified output stream.
PrintTo(TextWriter,string)
- member function in class
AlternativeElement
Prints this element to the specified output stream.
PrintTo(TextWriter,string)
- member function in class
CharacterSetElement
Prints this element to the specified output stream.
PrintTo(TextWriter,string)
- member function in class
CombineElement
Prints this element to the specified output stream.
PrintTo(TextWriter,string)
- member function in class
Element
Prints this element to the specified output stream.
PrintTo(TextWriter,string)
- member function in class
RepeatElement
Prints this element to the specified output stream.
PrintTo(TextWriter,string)
- member function in class
StringElement
Prints this element to the specified output stream.
Production
- class in
PerCederberg.Grammatica.Runtime
A production node.
Production(ProductionPattern)
- constructor in class
Production
Creates a new production node.
ProductionPattern
- class in
PerCederberg.Grammatica.Runtime
A production pattern.
ProductionPattern(int,string)
- constructor in class
ProductionPattern
Creates a new production pattern.
ProductionPatternAlternative
- class in
PerCederberg.Grammatica.Runtime
A production pattern alternative.
ProductionPatternAlternative()
- constructor in class
ProductionPatternAlternative
Creates a new production pattern alternative.
ProductionPatternElement
- class in
PerCederberg.Grammatica.Runtime
A production pattern element.
ProductionPatternElement(bool,int,int,int)
- constructor in class
ProductionPatternElement
Creates a new element.
Push(string,int)
- member function in class
RecursiveDescentParser.CallStack
Adds a new element to the top of the stack.
R
Range(char,char)
- constructor in class
NFACharRangeTransition.Range
Creates a new character range.
Range(char,char)
- constructor in class
CharacterSetElement.Range
Creates a new character range.
Read(int)
- member function in class
ReaderBuffer
Reads the specified number of characters from the current position.
ReaderBuffer
- class in
PerCederberg.Grammatica.Runtime
A character buffer that automatically reads from an input source stream when needed.
ReaderBuffer(TextReader)
- constructor in class
ReaderBuffer
Creates a new tokenizer character buffer.
RecursiveDescentParser
- class in
PerCederberg.Grammatica.Runtime
A recursive descent parser.
RecursiveDescentParser(TextReader)
- constructor in class
RecursiveDescentParser
Creates a new parser.
RecursiveDescentParser(TextReader,Analyzer)
- constructor in class
RecursiveDescentParser
Creates a new parser.
RecursiveDescentParser(Tokenizer)
- constructor in class
RecursiveDescentParser
Creates a new parser.
RecursiveDescentParser(Tokenizer,Analyzer)
- constructor in class
RecursiveDescentParser
Creates a new parser.
RecursiveDescentParser.CallStack
- class in
PerCederberg.Grammatica.Runtime
A name value stack.
REGEXP
- field in enum
TokenPattern.PatternType
The regular expression pattern type is used for tokens that match a regular expression.
RegExp
- class in
PerCederberg.Grammatica.Runtime.RE
A regular expression.
RegExp(string)
- constructor in class
RegExp
Creates a new case-sensitive regular expression.
RegExp(string,bool)
- constructor in class
RegExp
Creates a new regular expression.
RegExpException
- class in
PerCederberg.Grammatica.Runtime.RE
A regular expression exception.
RegExpException(ErrorType,int,string)
- constructor in class
RegExpException
Creates a new regular expression exception.
RegExpException.ErrorType
- enum in
PerCederberg.Grammatica.Runtime.RE
The error type enumeration.
RegExpMatcher
- class in
PerCederberg.Grammatica.Runtime
A token pattern matcher for complex regular expressions.
RegExpMatcher(bool)
- constructor in class
RegExpMatcher
Creates a new regular expression token matcher.
REHandler
- class in
PerCederberg.Grammatica.Runtime
The regular expression handler base class.
RELUCTANT
- field in enum
RepeatElement.RepeatType
The reluctant repeat type constant.
RemoveAll(LookAheadSet)
- member function in class
LookAheadSet
Removes all the token sequences from a specified set.
RemoveAllValues()
- member function in class
Node
Deprecated.
Use the Values property and the Values.Clear method instead. Alternatively the Values property can be set to null.
RemoveFirst()
- member function in class
NFAStateQueue
Removes and returns the first entry in the queue.
RepeatElement
- class in
PerCederberg.Grammatica.Runtime.RE
A regular expression element repeater.
RepeatElement(Element,int,int,RepeatType)
- constructor in class
RepeatElement
Creats a new element repeater.
RepeatElement.RepeatType
- enum in
PerCederberg.Grammatica.Runtime.RE
The repeat type constants.
Reset()
- member function in class
Analyzer
Resets this analyzer when the parser is reset for another input stream.
Reset()
- member function in class
Matcher
Resets the information about the last match.
Reset(ReaderBuffer)
- member function in class
Matcher
Resets the matcher for use with a new look-ahead character input stream.
Reset(string)
- member function in class
Matcher
Resets the matcher for use with a new input string.
Reset(TextReader)
- member function in class
Parser
Resets this parser for usage with another input stream.
Reset(TextReader)
- member function in class
Tokenizer
Resets this tokenizer for usage with another input stream.
S
Sequence()
- constructor in class
LookAheadSet.Sequence
Creates a new empty token sequence.
Sequence(bool,int)
- constructor in class
LookAheadSet.Sequence
Creates a new token sequence with a single token.
Sequence(bool,Sequence)
- constructor in class
LookAheadSet.Sequence
Creates a new token sequence that is a duplicate of another sequence.
Sequence(int,Sequence)
- constructor in class
LookAheadSet.Sequence
Creates a new token sequence that is a duplicate of another sequence.
SetError()
- member function in class
TokenPattern
Deprecated.
Use the Error property instead.
SetError(string)
- member function in class
TokenPattern
Deprecated.
Use the ErrorMessage property instead.
SetIgnore()
- member function in class
TokenPattern
Deprecated.
Use the Ignore property instead.
SetIgnore(string)
- member function in class
TokenPattern
Deprecated.
Use the IgnoreMessage property instead.
SetInitialized(bool)
- member function in class
Parser
Sets the parser initialized flag.
SetParent(Node)
- member function in class
Node
Sets the parent node.
SetPattern(ProductionPattern)
- member function in class
ProductionPatternAlternative
Changes the production pattern containing this alternative.
SetReadEndOfString()
- member function in class
Matcher
Sets the end of string encountered flag.
SetSyntetic(bool)
- member function in class
ProductionPattern
Deprecated.
Use the Synthetic property instead.
SetUseTokenList(bool)
- member function in class
Tokenizer
Deprecated.
Use the UseTokenList property instead.
Size()
- member function in class
LookAheadSet
Returns the size of this look-ahead set.
start
- member variable in class
TokenRegExpParser
The start NFA state for this regular expression.
Start()
- member function in class
Matcher
Returns the start position of the latest match.
StartColumn
- member variable in class
Node
The column number property of the first character in this node (read-only).
StartColumn
- member variable in class
Token
The column number property of the first character in this node (read-only).
StartLine
- member variable in class
Node
The line number property of the first character in this node (read-only).
StartLine
- member variable in class
Token
The line number property of the first character in this node (read-only).
StartsWith(Sequence)
- member function in class
LookAheadSet.Sequence
Checks if this token sequence starts with the tokens from another sequence.
state
- member variable in class
NFATransition
The target state of the transition.
STRING
- field in enum
TokenPattern.PatternType
The string pattern type is used for tokens that only match an exact string.
StringDFAMatcher
- class in
PerCederberg.Grammatica.Runtime
A token pattern matcher using a DFA for string tokens.
StringDFAMatcher(bool)
- constructor in class
StringDFAMatcher
Creates a new string token matcher.
StringElement
- class in
PerCederberg.Grammatica.Runtime.RE
A regular expression string element.
StringElement(char)
- constructor in class
StringElement
Creates a new string element.
StringElement(string)
- constructor in class
StringElement
Creates a new string element.
Subsequence(int)
- member function in class
LookAheadSet.Sequence
Creates a new token sequence that is a subsequence of this one.
Substring(int,int)
- member function in class
ReaderBuffer
Returns a substring already in the buffer.
Synthetic
- member variable in class
ProductionPattern
The synthetic production pattern property.
SystemRE
- class in
PerCederberg.Grammatica.Runtime
The .
SystemRE(string,bool)
- constructor in class
SystemRE
Creates a new .
T
this
- member variable in class
Node
The child node index (read-only).
this
- member variable in class
ParserLogException
The error index (read-only).
this
- member variable in class
Production
The child node index (read-only).
this
- member variable in class
ProductionPattern
The production pattern alternative index (read-only).
this
- member variable in class
ProductionPatternAlternative
The production pattern element index (read-only).
Token
- class in
PerCederberg.Grammatica.Runtime
A token node.
Token(TokenPattern,string,int,int)
- constructor in class
Token
Creates a new token.
Tokenizer
- member variable in class
Parser
The tokenizer property (read-only).
Tokenizer
- class in
PerCederberg.Grammatica.Runtime
A character stream tokenizer.
Tokenizer(TextReader)
- constructor in class
Tokenizer
Creates a new case-sensitive tokenizer for the specified input stream.
Tokenizer(TextReader,bool)
- constructor in class
Tokenizer
Creates a new tokenizer for the specified input stream.
TokenMatch
- class in
PerCederberg.Grammatica.Runtime
The token match status.
TokenMatcher
- class in
PerCederberg.Grammatica.Runtime
A token pattern matcher.
TokenMatcher(bool)
- constructor in class
TokenMatcher
Creates a new token matcher.
TokenNFA
- class in
PerCederberg.Grammatica.Runtime
A non-deterministic finite state automaton (NFA) for matching tokens.
TokenPattern
- class in
PerCederberg.Grammatica.Runtime
A token pattern.
TokenPattern(int,string,PatternType,string)
- constructor in class
TokenPattern
Creates a new token pattern.
TokenPattern.PatternType
- enum in
PerCederberg.Grammatica.Runtime
The pattern type enumeration.
TokenRegExpParser
- class in
PerCederberg.Grammatica.Runtime
A regular expression parser.
TokenRegExpParser(string)
- constructor in class
TokenRegExpParser
Creates a new case-sensitive regular expression parser.
TokenRegExpParser(string,bool)
- constructor in class
TokenRegExpParser
Creates a new regular expression parser.
TokenStringDFA
- class in
PerCederberg.Grammatica.Runtime
A deterministic finite state automaton for matching exact strings.
TokenStringDFA()
- constructor in class
TokenStringDFA
Creates a new empty string automaton.
ToShortString()
- member function in class
Token
Returns a short string representation of this token.
ToShortString()
- member function in class
TokenPattern
Returns a short string representation of this object.
ToString()
- member function in class
LookAheadSet
Returns a string representation of this object.
ToString()
- member function in class
LookAheadSet.Sequence
Returns a string representation of this object.
ToString()
- member function in class
Parser
Returns a string representation of this parser.
ToString()
- member function in class
Production
Returns a string representation of this production.
ToString()
- member function in class
ProductionPattern
Returns a string representation of this object.
ToString()
- member function in class
ProductionPatternAlternative
Returns a string representation of this object.
ToString()
- member function in class
ProductionPatternElement
Returns a string representation of this object.
ToString()
- member function in class
ReaderBuffer
Returns the current content of the buffer as a string.
ToString()
- member function in class
Token
Returns a string representation of this token.
ToString()
- member function in class
TokenMatcher
Returns a string representation of this matcher.
ToString()
- member function in class
TokenPattern
Returns a string representation of this object.
ToString()
- member function in class
TokenStringDFA
Returns a detailed string representation of this automaton.
ToString()
- member function in class
Tokenizer
Returns a string representation of this object.
ToString()
- member function in class
CharacterSetElement
Returns a string description of this character set.
ToString()
- member function in class
CharacterSetElement.Range
Returns a string representation of this object.
ToString()
- member function in class
Matcher
Returns the latest matched string.
ToString()
- member function in class
RegExp
Returns a string representation of the regular expression.
ToString(Tokenizer)
- member function in class
LookAheadSet
Returns a string representation of this object.
ToString(Tokenizer)
- member function in class
LookAheadSet.Sequence
Returns a string representation of this object.
TransitionTree
- class in
PerCederberg.Grammatica.Runtime
An automaton state transition tree.
TransitionTree()
- constructor in class
TransitionTree
Creates a new empty automaton transition tree.
tree
- member variable in class
DFAState
The automaton state transition tree.
Type
- member variable in class
ParseException
The error type property (read-only).
Type
- member variable in class
ParserCreationException
The error type property (read-only).
Type
- member variable in class
TokenPattern
The token pattern type property (read-only).
U
UNEXPECTED_CHAR
- field in enum
ParseException.ErrorType
The unexpected character error type is used when a character is read that isn't handled by one of the token patterns.
UNEXPECTED_CHARACTER
- field in enum
RegExpException.ErrorType
The unexpected character error constant.
UNEXPECTED_EOF
- field in enum
ParseException.ErrorType
The unexpected end of file error type is used when end of file is encountered instead of a valid token.
UNEXPECTED_TOKEN
- field in enum
ParseException.ErrorType
The unexpected token error type is used when another token than the expected one is encountered.
UNSUPPORTED_ESCAPE_CHARACTER
- field in enum
RegExpException.ErrorType
The unsupported escape character error constant.
UNSUPPORTED_SPECIAL_CHARACTER
- field in enum
RegExpException.ErrorType
The unsupported special character error constant.
UNTERMINATED_PATTERN
- field in enum
RegExpException.ErrorType
The unterminated pattern error constant.
Update(int,TokenPattern)
- member function in class
TokenMatch
Updates this match with new values.
UseTokenList
- member variable in class
Tokenizer
The token list flag property.
V
value
- member variable in class
DFAState
The token pattern matched at this state.
value
- member variable in class
NFAState
The optional state value (if it is a final state).
Values
- member variable in class
Node
The node values property.
W
WHITESPACE
- static variable in class
CharacterSetElement
The whitespace character set.
WORD
- static variable in class
CharacterSetElement
The word character set.
Overview
Project
Class
Tree
Deprecated
Index
Grammatica 1.5 Documentation
FRAMES
NO FRAMES