![]() |
Paradox Game Engine
v1.0.0 beta06
|
Classes | |
| class | RegexSwitchTable |
Public Member Functions | |
| RegExLiteral (string name) | |
| RegExLiteral (string name, char startEndSymbol, char escapeSymbol) | |
| override void | Init (GrammarData grammarData) |
| override IList< string > | GetFirsts () |
| override Token | TryMatch (ParsingContext context, ISourceStream source) |
| bool | IsSet (RegexTermOptions option) |
Public Member Functions inherited from Irony.Parsing.Terminal | |
| Terminal (string name) | |
| Terminal (string name, TokenCategory category) | |
| Terminal (string name, string errorAlias, TokenCategory category, TermFlags flags) | |
| Terminal (string name, TokenCategory category, TermFlags flags) | |
| virtual string | TokenToString (Token token) |
| void | SetOutputTerminal (Grammar grammar, Terminal outputTerminal) |
Public Member Functions inherited from Irony.Parsing.BnfTerm | |
| BnfTerm (string name) | |
| BnfTerm (string name, string errorAlias) | |
| BnfTerm (string name, string errorAlias, Type nodeType) | |
| BnfTerm (string name, string errorAlias, AstNodeCreator nodeCreator) | |
| virtual string | GetParseNodeCaption (ParseTreeNode node) |
| override string | ToString () |
| override int | GetHashCode () |
| bool | FlagIsSet (TermFlags flag) |
| void | SetFlag (TermFlags flag) |
| void | SetFlag (TermFlags flag, bool value) |
| virtual void | CreateAstNode (ParsingContext context, ParseTreeNode nodeInfo) |
| NonTerminal | Q () |
| NonTerminal | Plus () |
| NonTerminal | Star () |
Public Attributes | |
| Char | StartSymbol = '/' |
| Char | EndSymbol ='/' |
| Char | EscapeSymbol ='\\' |
| RegexSwitchTable | Switches = new RegexSwitchTable() |
| RegexOptions | DefaultOptions = RegexOptions.None |
| RegexTermOptions | Options = RegexTermOptions.Default |
Public Attributes inherited from Irony.Parsing.Terminal | |
| TokenCategory | Category = TokenCategory.Content |
| int | Priority |
| TokenEditorInfo | EditorInfo |
| byte | MultilineIndex |
| Terminal | IsPairFor |
| const int | LowestPriority = -1000 |
| const int | HighestPriority = 1000 |
| const int | ReservedWordsPriority = 900 |
Public Attributes inherited from Irony.Parsing.BnfTerm | |
| const int | NoPrecedence = 0 |
| string | Name |
| string | ErrorAlias |
| TermFlags | Flags |
| int | Precedence = NoPrecedence |
| Associativity | Associativity = Associativity.Neutral |
| Type | AstNodeType |
| object | AstNodeConfig |
| AstNodeCreator | AstNodeCreator |
Additional Inherited Members | |
Static Public Member Functions inherited from Irony.Parsing.Terminal | |
| static int | ByName (Terminal x, Terminal y) |
| static int | ByPriorityReverse (Terminal x, Terminal y) |
| static string | TerminalsToString (IEnumerable< Terminal > terminals, string separator) |
Static Public Member Functions inherited from Irony.Parsing.BnfTerm | |
| static BnfExpression | operator+ (BnfTerm term1, BnfTerm term2) |
| static BnfExpression | operator+ (BnfTerm term1, string symbol2) |
| static BnfExpression | operator+ (string symbol1, BnfTerm term2) |
| static BnfExpression | operator| (BnfTerm term1, BnfTerm term2) |
| static BnfExpression | operator| (BnfTerm term1, string symbol2) |
| static BnfExpression | operator| (string symbol1, BnfTerm term2) |
Protected Member Functions inherited from Irony.Parsing.BnfTerm | |
| virtual Type | GetAstNodeType (ParsingContext context, ParseTreeNode nodeInfo) |
Protected Attributes inherited from Irony.Parsing.BnfTerm | |
| GrammarData | GrammarData |
Properties inherited from Irony.Parsing.Terminal | |
| Terminal | OutputTerminal [get, set] |
Properties inherited from Irony.Parsing.BnfTerm | |
| Grammar | Grammar [get] |
Events inherited from Irony.Parsing.Terminal | |
| EventHandler< ParsingEventArgs > | ValidateToken |
Events inherited from Irony.Parsing.BnfTerm | |
| EventHandler< AstNodeEventArgs > | AstNodeCreated |
Definition at line 38 of file RegExLiteral.cs.
| Irony.Parsing.RegExLiteral.RegExLiteral | ( | string | name | ) |
Definition at line 50 of file RegExLiteral.cs.
| Irony.Parsing.RegExLiteral.RegExLiteral | ( | string | name, |
| char | startEndSymbol, | ||
| char | escapeSymbol | ||
| ) |
Definition at line 57 of file RegExLiteral.cs.
|
virtual |
Reimplemented from Irony.Parsing.Terminal.
Definition at line 67 of file RegExLiteral.cs.
|
virtual |
Reimplemented from Irony.Parsing.BnfTerm.
Definition at line 63 of file RegExLiteral.cs.
| bool Irony.Parsing.RegExLiteral.IsSet | ( | RegexTermOptions | option | ) |
Definition at line 136 of file RegExLiteral.cs.
|
virtual |
Reimplemented from Irony.Parsing.Terminal.
Definition at line 73 of file RegExLiteral.cs.
References Irony.Parsing.ISourceStream.CreateErrorToken(), Irony.Resources.ErrDupRegexSwitch, Irony.Resources.ErrInvRegexSwitch, Irony.Resources.ErrNoEndForRegex, and Irony.Parsing.ISourceStream.PreviewChar.
| RegexOptions Irony.Parsing.RegExLiteral.DefaultOptions = RegexOptions.None |
Definition at line 45 of file RegExLiteral.cs.
| Char Irony.Parsing.RegExLiteral.EndSymbol ='/' |
Definition at line 42 of file RegExLiteral.cs.
| Char Irony.Parsing.RegExLiteral.EscapeSymbol ='\\' |
Definition at line 43 of file RegExLiteral.cs.
| RegexTermOptions Irony.Parsing.RegExLiteral.Options = RegexTermOptions.Default |
Definition at line 46 of file RegExLiteral.cs.
| Char Irony.Parsing.RegExLiteral.StartSymbol = '/' |
Definition at line 41 of file RegExLiteral.cs.
| RegexSwitchTable Irony.Parsing.RegExLiteral.Switches = new RegexSwitchTable() |
Definition at line 44 of file RegExLiteral.cs.