Overview   Project   Class   Tree   Deprecated   Index 
Grammatica 1.3 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,Automaton) - member function in class AutomatonTree
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 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.
AddMatch(string,object) - member function in class Automaton
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.
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 StringTokenMatcher
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 CharacterSetElement
Adds a character range to this character set.
AddToken(int,int,int) - member function in class ProductionPatternAlternative
Adds a token to this alternative.
AddValue(object) - member function in class Node
Adds a computed value to this node.
AddValues(ArrayList) - member function in class Node
Adds a set of computed values to this node.
AlternativeElement - class in PerCederberg.Grammatica.Parser.RE
A regular expression alternative element.
AlternativeElement(Element,Element) - constructor in class AlternativeElement
Creates a new alternative element.
ANALYSIS - field in enum ParseException.ErrorType
Analyze(Node) - member function in class Analyzer
Analyzes a parse tree node by traversing all it's child nodes.
Analyzer - class in PerCederberg.Grammatica.Parser
A parse tree analyzer.
Analyzer() - constructor in class Analyzer
Creates a new parse tree analyzer.
Automaton - class in PerCederberg.Grammatica.Parser
A deterministic finite automaton.
Automaton() - constructor in class Automaton
Creates a new empty automaton.
AutomatonTree - class in PerCederberg.Grammatica.Parser
An automaton state transition tree.
AutomatonTree() - constructor in class AutomatonTree
Creates a new empty automaton transition tree.

C

CharacterSetElement - class in PerCederberg.Grammatica.Parser.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.Parser.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 RecursiveDescentParser.CallStack
Clears the stack.
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.
CombineElement - class in PerCederberg.Grammatica.Parser.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.
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

DIGIT - static variable in class CharacterSetElement
The digit character set.
DOT - static variable in class CharacterSetElement
The dot ('.') character set.

E

Element - class in PerCederberg.Grammatica.Parser.RE
A regular expression element.
End() - member function in class Matcher
Returns the end position of the latest match.
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.
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.
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) - member function in class AutomatonTree
Finds an automaton state from the specified transition character.

G

GetAllValues() - member function in class Node
Returns the list with all the computed values for this node.
GetAlternative(int) - member function in class ProductionPattern
Returns an alternative in this pattern.
GetAlternativeCount() - member function in class ProductionPattern
Returns the number of alternatives in this pattern.
GetChildAt(int) - member function in class Node
Returns the child node with the specified index.
GetChildAt(int) - member function in class Production
Returns the child node with the specified index.
GetChildAt(Node,int) - member function in class Analyzer
Returns a child at the specified position.
GetChildCount() - member function in class Node
Returns the number of child nodes.
GetChildCount() - member function in class Production
Returns the number of child nodes.
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
Returns the column number where the error occured.
GetCurrentColumn() - member function in class Tokenizer
Returns the current column number.
GetCurrentLine() - member function in class Tokenizer
Returns the current line number.
GetDefaultAlternative() - member function in class ProductionPattern
Returns the default pattern alternative.
GetDescendantCount() - member function in class Node
Returns the number of descendant nodes.
GetDetails() - member function in class ParseException
Returns the additional detailed error information.
GetDetails() - member function in class ParserCreationException
Returns the detailed error information as a string
GetElement(int) - member function in class ProductionPatternAlternative
Returns an element in this alternative.
GetElementCount() - member function in class ProductionPatternAlternative
Returns the number of elements in this alternative.
GetEndColumn() - member function in class Node
The column number of the last character in this node.
GetEndColumn() - member function in class Token
The column number of the last character in the token image.
GetEndLine() - member function in class Node
The line number of the last character in this node.
GetEndLine() - member function in class Token
The line number of the last character in the token image.
GetError(int) - member function in class ParserLogException
Returns a specific error from the log.
GetErrorCount() - member function in class ParserLogException
Returns the number of errors in this log.
GetErrorMessage() - member function in class ParseException
Returns the error message.
GetErrorMessage() - member function in class TokenPattern
Returns the token error message if the pattern corresponds to an error token.
GetErrorType() - member function in class ParseException
Returns the error type.
GetErrorType() - member function in class ParserCreationException
Returns the error type.
GetId() - member function in class Node
Returns the node type id.
GetId() - member function in class Production
Returns the production (pattern) id.
GetId() - member function in class ProductionPattern
Returns the unique production pattern identity value.
GetId() - member function in class ProductionPatternElement
Returns the node identity.
GetId() - member function in class Token
Returns the token (pattern) id.
GetId() - member function in class TokenPattern
Returns the unique token pattern identity value.
GetIgnoreMessage() - member function in class TokenPattern
Returns the token ignore message if the pattern corresponds to an ignored token.
GetImage() - member function in class Token
Returns the token image (i.e. the characters).
GetInfo() - member function in class ParseException
Returns the additional error information.
GetInfo() - member function in class ParserCreationException
Returns the additional error information.
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
Returns the line number where the error occured.
GetLookAhead() - member function in class ProductionPattern
Returns the look-ahead set associated with this alternative.
GetLookAhead() - member function in class ProductionPatternAlternative
Returns the look-ahead set associated with this alternative.
GetLookAhead() - member function in class ProductionPatternElement
Returns the look-ahead set associated with this alternative.
GetMatchedLength() - member function in class RegExpTokenMatcher
Returns the length of the latest match.
GetMatchedLength() - member function in class StringTokenMatcher
Returns the length of the latest match.
GetMatchedLength() - member function in class TokenMatcher
Returns the length of the latest match.
GetMatchedPattern() - member function in class RegExpTokenMatcher
Returns the latest matched token pattern.
GetMatchedPattern() - member function in class StringTokenMatcher
Returns the latest matched token pattern.
GetMatchedPattern() - member function in class TokenMatcher
Returns the latest matched token pattern.
GetMaxCount() - member function in class ProductionPatternElement
Returns the maximum occurence count.
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
Returns a default error message.
GetMessage() - member function in class ParserCreationException
Returns the error message.
GetMessage() - member function in class ParserLogException
Returns the detailed error message.
GetMessage() - member function in class RegExpException
Returns the exception error message.
GetMinCount() - member function in class ProductionPatternElement
Returns the minimum occurence count.
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
Returns the node name.
GetName() - member function in class ParserCreationException
Returns the token or production name.
GetName() - member function in class Production
Returns the production node name.
GetName() - member function in class ProductionPattern
Returns the production pattern name.
GetName() - member function in class Token
Returns the token node name.
GetName() - member function in class TokenPattern
Returns the token pattern name.
GetParent() - member function in class Node
Returns the parent node.
GetPattern() - member function in class Production
Returns the production pattern for this production.
GetPattern() - member function in class ProductionPatternAlternative
Returns the production pattern containing this alternative.
GetPattern() - member function in class RegExpTokenMatcher
Returns the token pattern.
GetPattern() - member function in class Token
Returns the token pattern.
GetPattern() - member function in class TokenPattern
Returns te token pattern.
GetPattern(int) - member function in class Parser
Returns the production pattern with the specified id.
GetPattern(int) - member function in class StringTokenMatcher
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
Returns the token pattern type.
GetStartColumn() - member function in class Node
The column number of the first character in this node.
GetStartColumn() - member function in class Token
The column number of the first character in the token image.
GetStartLine() - member function in class Node
The line number of the first character in this node.
GetStartLine() - member function in class Token
The line number of the first character in the token image.
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.
GetValue(int) - member function in class Node
Returns a computed value of this node, if previously set.
GetValue(Node,int) - member function in class Analyzer
Returns the node value at the specified position.
GetValueCount() - member function in class Node
Returns the number of computed values associated with this node.
GREEDY - field in enum RepeatElement.RepeatType

H

HasReadEndOfString() - member function in class RegExpTokenMatcher
Checks if the end of string was encountered during the last match.
HasReadEndOfString() - member function in class StringTokenMatcher
Checks if the end of string was encountered during the last match.
HasReadEndOfString() - member function in class TokenMatcher
Checks if the end of string was encountered during the last match.
HasReadEndOfString() - member function in class Matcher
Checks if the end of the string was encountered during the last match attempt.

I

INFINITE_LOOP - field in enum ParserCreationException.ErrorType
INHERENT_AMBIGUITY - field in enum ParserCreationException.ErrorType
Inside(char) - member function in class CharacterSetElement.Range
Checks if the specified character is inside the range.
INTERNAL - field in enum ParseException.ErrorType
INTERNAL - field in enum ParserCreationException.ErrorType
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
INVALID_PRODUCTION - field in enum ParserCreationException.ErrorType
INVALID_REPEAT_COUNT - field in enum RegExpException.ErrorType
INVALID_TOKEN - field in enum ParseException.ErrorType
INVALID_TOKEN - field in enum ParserCreationException.ErrorType
IO - field in enum ParseException.ErrorType
IsError() - member function in class TokenPattern
Checks if the pattern corresponds to an error token.
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
Checks if the pattern corresponds to an ignored token.
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
Checks if the syntetic production flag is set.
IsToken() - member function in class ProductionPatternElement
Returns true if this element represents a token.

L

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.
LookAheadSet - class in PerCederberg.Grammatica.Parser
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.Parser
A token sequence.

M

Match(Matcher,string,int,int) - member function in class AlternativeElement
Returns the length of a matching string starting at the specified position.
Match(Matcher,string,int,int) - member function in class CharacterSetElement
Returns the length of a matching string starting at the specified position.
Match(Matcher,string,int,int) - member function in class CombineElement
Returns the length of a matching string starting at the specified position.
Match(Matcher,string,int,int) - member function in class Element
Returns the length of a matching string starting at the specified position.
Match(Matcher,string,int,int) - member function in class RepeatElement
Returns the length of a matching string starting at the specified position.
Match(Matcher,string,int,int) - member function in class StringElement
Returns the length of a matching string starting at the specified position.
Matcher - class in PerCederberg.Grammatica.Parser.RE
A regular expression string matcher.
Matcher(Element,string) - constructor in class Matcher
Creates a new matcher with the specified element.
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.
MatchFrom(string,int) - member function in class RegExpTokenMatcher
Checks if the token pattern matches the tokenizer buffer from the specified position.
MatchFrom(string,int) - member function in class StringTokenMatcher
Checks if the token pattern matches the tokenizer buffer from the specified position.
MatchFrom(StringTokenMatcher,string,int) - member function in class Automaton
Checks if the automaton matches the tokenizer buffer from the specified position.
MatchFromBeginning() - member function in class Matcher
Attempts to find a match starting at the beginning of the string.
Message - member variable in class ParseException
The message property.
Message - member variable in class ParserCreationException
The message property.
Message - member variable in class ParserLogException
The message property.
Message - member variable in class RegExpException
The message property.

N

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.
Node - class in PerCederberg.Grammatica.Parser
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.

P

Parse() - member function in class Parser
Parses the token stream and returns a parse tree.
ParseException - class in PerCederberg.Grammatica.Parser
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.Parser
The error type enumeration.
Parser - class in PerCederberg.Grammatica.Parser
A base parser class.
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.Parser
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.Parser
The error type enumeration.
ParserLogException - class in PerCederberg.Grammatica.Parser
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.
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.
POSSESSIVE - field in enum RepeatElement.RepeatType
Prepare() - member function in class Parser
Initializes the parser.
Prepare() - member function in class RecursiveDescentParser
Initializes the parser.
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.Parser
A production node.
Production(ProductionPattern) - constructor in class Production
Creates a new production node.
ProductionPattern - class in PerCederberg.Grammatica.Parser
A production pattern.
ProductionPattern(int,string) - constructor in class ProductionPattern
Creates a new production pattern.
ProductionPatternAlternative - class in PerCederberg.Grammatica.Parser
A production pattern alternative.
ProductionPatternAlternative() - constructor in class ProductionPatternAlternative
Creates a new production pattern alternative.
ProductionPatternElement - class in PerCederberg.Grammatica.Parser
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 CharacterSetElement.Range
Creates a new character range.
RecursiveDescentParser - class in PerCederberg.Grammatica.Parser
A recursive descent 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.Parser
A name value stack.
REGEXP - field in enum TokenPattern.PatternType
RegExp - class in PerCederberg.Grammatica.Parser.RE
A regular expression.
RegExp(string) - constructor in class RegExp
Creates a new regular expression.
RegExpException - class in PerCederberg.Grammatica.Parser.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.Parser.RE
The error type enumeration.
RegExpTokenMatcher - class in PerCederberg.Grammatica.Parser
A regular expression token pattern matcher.
RegExpTokenMatcher(TokenPattern) - constructor in class RegExpTokenMatcher
Creates a new regular expression token matcher.
RELUCTANT - field in enum RepeatElement.RepeatType
RemoveAll(LookAheadSet) - member function in class LookAheadSet
Removes all the token sequences from a specified set.
RemoveAllValues() - member function in class Node
Removes all computed values stored in this node.
RepeatElement - class in PerCederberg.Grammatica.Parser.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.Parser.RE
The repeat type constants.
Reset() - member function in class StringTokenMatcher
Resets the matcher state.
Reset() - member function in class Matcher
Resets the information about the last match.

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.
SetDefaultAlternative(int) - member function in class ProductionPattern
Sets the default pattern alternative.
SetError() - member function in class TokenPattern
Sets the token error flag and assigns a default error message.
SetError(string) - member function in class TokenPattern
Sets the token error flag and assigns the specified error message.
SetIgnore() - member function in class TokenPattern
Sets the token ignore flag and clears the ignore message.
SetIgnore(string) - member function in class TokenPattern
Sets the token ignore flag and assigns the specified ignore message.
SetInitialized(bool) - member function in class Parser
Sets the parser initialized flag.
SetLookAhead(LookAheadSet) - member function in class ProductionPattern
Sets the look-ahead set for this alternative.
SetLookAhead(LookAheadSet) - member function in class ProductionPatternAlternative
Sets the look-ahead set for this alternative.
SetLookAhead(LookAheadSet) - member function in class ProductionPatternElement
Sets the look-ahead set for this alternative.
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 StringTokenMatcher
Sets the end of string encountered flag.
SetReadEndOfString() - member function in class Matcher
Sets the end of string encountered flag.
SetSyntetic(bool) - member function in class ProductionPattern
Sets the syntetic production pattern flag.
Size() - member function in class LookAheadSet
Returns the size of this look-ahead set.
Start() - member function in class RegExpTokenMatcher
Returns the start position of the latest match.
Start() - member function in class Matcher
Returns the start position of the latest match.
StartsWith(Sequence) - member function in class LookAheadSet.Sequence
Checks if this token sequence starts with the tokens from another sequence.
STRING - field in enum TokenPattern.PatternType
StringElement - class in PerCederberg.Grammatica.Parser.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.
StringTokenMatcher - class in PerCederberg.Grammatica.Parser
A string token pattern matcher.
StringTokenMatcher() - constructor in class StringTokenMatcher
Creates a new string token matcher.
Subsequence(int) - member function in class LookAheadSet.Sequence
Creates a new token sequence that is a subsequence of this one.

T

Token - class in PerCederberg.Grammatica.Parser
A token node.
Token(TokenPattern,string,int,int) - constructor in class Token
Creates a new token.
Tokenizer - class in PerCederberg.Grammatica.Parser
A character stream tokenizer.
Tokenizer(TextReader) - constructor in class Tokenizer
Creates a new tokenizer for the specified input stream.
TokenMatcher - class in PerCederberg.Grammatica.Parser
A token pattern matcher.
TokenPattern - class in PerCederberg.Grammatica.Parser
A token pattern.
TokenPattern(int,string,PatternType,string) - constructor in class TokenPattern
Creates a new token pattern.
TokenPattern.PatternType - enum in PerCederberg.Grammatica.Parser
The pattern type enumeration.
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 RegExpTokenMatcher
Returns a string representation of this token matcher.
ToString() - member function in class StringTokenMatcher
Returns a string representation of this matcher.
ToString() - member function in class Token
Returns a string representation of this token.
ToString() - member function in class TokenPattern
Returns a string representation of this object.
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.

U

UNEXPECTED_CHAR - field in enum ParseException.ErrorType
UNEXPECTED_CHARACTER - field in enum RegExpException.ErrorType
UNEXPECTED_EOF - field in enum ParseException.ErrorType
UNEXPECTED_TOKEN - field in enum ParseException.ErrorType
UNSUPPORTED_ESCAPE_CHARACTER - field in enum RegExpException.ErrorType
UNSUPPORTED_SPECIAL_CHARACTER - field in enum RegExpException.ErrorType
UNTERMINATED_PATTERN - field in enum RegExpException.ErrorType

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.3 Documentation
FRAMES    NO FRAMES