NTP Analyzer
0.8.2
Analyze the operation of time servers
|
Public Member Functions | |
Tokenizer (string file) | |
void | Consume () |
Consume white spaces, line breaks and comments. More... | |
void | ConsumeWhiteSpaces () |
Consume white spaces and comments. More... | |
void | Dispose () |
Token | GetNext () |
Token | PeekNext () |
Public Attributes | |
int | ColumnNumber => reader.Position |
int | LineNumber => reader.Line |
Properties | |
Token | Token [get, private set] |
Private Member Functions | |
~Tokenizer () | |
void | ConsumeComment () |
void | Dispose (bool disposing) |
Token | GetNextToken () |
Token | ParseLiteral () |
Token | ParseQuotedIdent () |
Static Private Member Functions | |
static Token | ParseBoolean (string text) |
static Token | ParseDigitValue (string text) |
Private Attributes | |
bool | disposedValue |
readonly ConfigFileReader | reader |
Definition at line 29 of file Tokenizer.cs.
|
inline |
Definition at line 31 of file Tokenizer.cs.
References Ntp.Analyzer.Config.Table.Token.Undefined.
|
inlineprivate |
Definition at line 300 of file Tokenizer.cs.
|
inline |
Consume white spaces, line breaks and comments.
Definition at line 48 of file Tokenizer.cs.
References c, Ntp.Analyzer.Config.Table.Token.NewLine, and Ntp.Analyzer.Config.Table.Token.Whitespace.
|
inlineprivate |
Definition at line 123 of file Tokenizer.cs.
References Ntp.Analyzer.Config.Table.Token.NewLine.
|
inline |
Consume white spaces and comments.
Definition at line 87 of file Tokenizer.cs.
References Ntp.Analyzer.Config.Table.Token.Whitespace.
|
inlineprivate |
Definition at line 287 of file Tokenizer.cs.
|
inline |
Definition at line 305 of file Tokenizer.cs.
|
inline |
Definition at line 99 of file Tokenizer.cs.
|
inlineprivate |
Definition at line 150 of file Tokenizer.cs.
References c, Ntp.Analyzer.Config.Table.Token.NewLine, and Ntp.Analyzer.Config.Table.Token.Whitespace.
|
inlinestaticprivate |
Definition at line 198 of file Tokenizer.cs.
|
inlinestaticprivate |
|
inlineprivate |
Definition at line 245 of file Tokenizer.cs.
References Ntp.Analyzer.Config.Table.Keyword.Keywords.
|
inlineprivate |
Definition at line 266 of file Tokenizer.cs.
|
inline |
Definition at line 105 of file Tokenizer.cs.
References Ntp.Analyzer.Config.Table.Token.EndOfFile, Ntp.Analyzer.Config.Table.Token.NewLine, Ntp.Analyzer.Config.Table.Token.Undefined, and Ntp.Analyzer.Config.Table.Token.Whitespace.
int Ntp.Analyzer.Config.Compiler.Tokenizer.ColumnNumber => reader.Position |
Definition at line 43 of file Tokenizer.cs.
|
private |
Definition at line 285 of file Tokenizer.cs.
int Ntp.Analyzer.Config.Compiler.Tokenizer.LineNumber => reader.Line |
Definition at line 41 of file Tokenizer.cs.
|
private |
Definition at line 37 of file Tokenizer.cs.
|
getprivate set |
Definition at line 39 of file Tokenizer.cs.