![]() |
Paradox Game Engine
v1.0.0 beta06
|
Public Member Functions | |
| Token | VsReadToken (ref int state) |
| void | VsSetSource (string text, int offset) |
| override void | BeginPreview () |
| Begins the preview. More... | |
| override void | EndPreview (bool keepPreviewTokens) |
| Ends the preview. More... | |
Public Member Functions inherited from Irony.Parsing.Scanner | |
| Scanner () | |
| Initializes a new instance of the Scanner class. More... | |
| Token | GetToken () |
| Gets the next token. More... | |
| void | Initialize (Parser parser) |
| Initializes this instance. More... | |
| virtual void | Reset () |
| Resets this instance. More... | |
| abstract void | SetSourceText (string sourceText, string sourceFileName) |
| Sets the source text for this scanner. More... | |
Protected Member Functions | |
| override void | PrepareInput () |
| Prepares the input. More... | |
| override void | NextToken () |
| Retrieves the next token. More... | |
Protected Member Functions inherited from Irony.Parsing.Scanner | |
| IEnumerable< Token > | GetUnfilteredTokens () |
| Gets the unfiltered tokens. More... | |
Additional Inherited Members | |
Properties inherited from Irony.Parsing.Scanner | |
| abstract SourceLocation | Location [get, set] |
| Gets or sets the location. More... | |
| Parser | Parser [get, set] |
| Gets the parser. More... | |
| ParsingContext | Context [get] |
| Gets the context. More... | |
| Grammar | Grammar [get, set] |
| Gets or sets the grammar. More... | |
Definition at line 23 of file DefaultScanner.cs.
|
virtual |
Begins the preview.
Reimplemented from Irony.Parsing.Scanner.
Definition at line 254 of file DefaultScanner.cs.
|
virtual |
Ends the preview.
| keepPreviewTokens | if set to true [keep preview tokens]. |
Reimplemented from Irony.Parsing.Scanner.
Definition at line 260 of file DefaultScanner.cs.
|
protectedvirtual |
Retrieves the next token.
Implements Irony.Parsing.Scanner.
Definition at line 40 of file DefaultScanner.cs.
References Irony.Parsing.SourceLocation.Empty, Irony.Parsing.SourceStream.EOF(), Irony.Parsing.Grammar.Eof, Irony.Parsing.SourceStream.Location, Irony.Parsing.SourceStream.MoveLocationToPreviewPosition(), Irony.Parsing.BnfTerm.Name, Irony.Parsing.SourceStream.PreviewChar, Irony.Parsing.SourceStream.PreviewPosition, and Irony.Parsing.Grammar.WhitespaceChars.
|
protectedvirtual |
Prepares the input.
Implements Irony.Parsing.Scanner.
Definition at line 34 of file DefaultScanner.cs.
| Token Irony.Parsing.DefaultScanner.VsReadToken | ( | ref int | state | ) |
Definition at line 208 of file DefaultScanner.cs.
References Irony.Parsing.SourceStream.EOF(), and Irony.Parsing.Grammar.Eof.
| void Irony.Parsing.DefaultScanner.VsSetSource | ( | string | text, |
| int | offset | ||
| ) |
Definition at line 223 of file DefaultScanner.cs.