NTP Analyzer
0.8.2
Analyze the operation of time servers
|
The config compiler transforms syntax nodes into configurations and assemble all missing links. More...
Public Member Functions | |
ConfigCompiler (ISyntaxNode root) | |
Initializes a new instance of the ConfigCompiler class. More... | |
void | Execute () |
Execute this stage. More... | |
Public Attributes | |
IEnumerable< string > | Errors => new List<string>() |
Gets the errors from this stage. More... | |
Properties | |
SymbolTable | SymbolTable [get, set] |
Gets or sets the symbol table. More... | |
Properties inherited from Ntp.Analyzer.Config.Compiler.ICompilerStage | |
IEnumerable< string > | Errors [get] |
Gets the errors from this stage. More... | |
SymbolTable | SymbolTable [get, set] |
Gets or sets the symbol table. More... | |
Static Private Member Functions | |
static void | Assemble (ISyntaxNode node) |
Assemble compiled syntax tree buttom up. More... | |
static void | Compile (ISyntaxNode node) |
Compile the specified syntax node tree buttom up. More... | |
Private Attributes | |
readonly ISyntaxNode | root |
The config compiler transforms syntax nodes into configurations and assemble all missing links.
Definition at line 32 of file ConfigCompiler.cs.
|
inline |
Initializes a new instance of the ConfigCompiler class.
root | The root node. |
Definition at line 38 of file ConfigCompiler.cs.
|
inlinestaticprivate |
Assemble compiled syntax tree buttom up.
node | Node. |
Definition at line 72 of file ConfigCompiler.cs.
|
inlinestaticprivate |
Compile the specified syntax node tree buttom up.
node | Node. |
Definition at line 85 of file ConfigCompiler.cs.
|
inline |
Execute this stage.
Implements Ntp.Analyzer.Config.Compiler.ICompilerStage.
Definition at line 62 of file ConfigCompiler.cs.
IEnumerable<string> Ntp.Analyzer.Config.Compiler.ConfigCompiler.Errors => new List<string>() |
Gets the errors from this stage.
The compiler stage does not yield errors>
The errors.
Definition at line 57 of file ConfigCompiler.cs.
|
private |
Definition at line 43 of file ConfigCompiler.cs.
|
getset |
Gets or sets the symbol table.
The symbol table is not used by the compiler stage
The symbol table.
Definition at line 50 of file ConfigCompiler.cs.
Referenced by Ntp.Analyzer.Config.ConfigBuilder.Execute().