|
| override Configuration | InternalCompile () |
| |
| override void | ValidateMandatories () |
| | Override to validates the mandatory types in this syntax node. More...
|
| |
| | SyntaxNode (Symbol symbol, string name, int line, bool requirePath=false) |
| |
| void | AddError (string message) |
| |
| void | AddReferenceNameError (ISyntaxNode node, string keyword, string name) |
| |
| void | AddReferenceTypeError (ISyntaxNode node, string keyword, string section, string name) |
| |
| void | CheckAllIsPresent (IEnumerable< Symbol > list) |
| |
| void | CheckIsUnique (IEnumerable< Symbol > list) |
| |
| Uri | CheckLink (string link, string keyword) |
| |
| void | CheckOneIsPresent (IEnumerable< Symbol > list) |
| |
| void | CheckOnlyOneIsPresent (IEnumerable< Symbol > list) |
| |
| void | CheckTypeIs< TU > (Symbol symbol) |
| |
| void | CheckTypeIs< TU, TV > (Symbol symbol) |
| |
| virtual void | InternalResolve (SymbolTable table) |
| | Override to resolve references to other syntax nodes from this syntax node. More...
|
| |
| virtual void | ValidateReferences (SymbolTable table) |
| | Override to validates the references in this syntax node. More...
|
| |
| virtual void | ValidateTypes () |
| | Override to validates the types in this syntax node. More...
|
| |
Definition at line 29 of file RootSyntaxNode.cs.
| Ntp.Analyzer.Config.Syntax.RootSyntaxNode.RootSyntaxNode |
( |
| ) |
|
|
inline |
| override Configuration Ntp.Analyzer.Config.Syntax.RootSyntaxNode.InternalCompile |
( |
| ) |
|
|
inlineprotectedvirtual |
Implements Ntp.Analyzer.Config.Syntax.SyntaxNode< Configuration >.
Definition at line 36 of file RootSyntaxNode.cs.
38 var permission =
Nodes.SingleOrDefault(n => n.Symbol ==
Symbol.KeywordPermission) as PermissionSyntaxNode;
39 var daemon =
Nodes.SingleOrDefault(n => n.Symbol ==
Symbol.KeywordDaemon) as HeartbeatSyntaxNode ??
40 Nodes.SingleOrDefault(n => n.Symbol ==
Symbol.KeywordService) as HeartbeatSyntaxNode;
41 var database =
Nodes.SingleOrDefault(n => n.Symbol ==
Symbol.KeywordDatabase) as DatabaseSyntaxNode;
44 var notify =
Nodes.SingleOrDefault(n => n.Symbol ==
Symbol.KeywordNotify) as NotifySyntaxNode;
50 (permission ??
new PermissionSyntaxNode(null, 0)).
Compile(),
53 Nodes.OfType<ReadingSyntaxNode>().Select(n => n.Compile()),
54 Nodes.OfType<ListenerSyntaxNode>().Select(n => n.Compile()),
55 Nodes.OfType<LogSyntaxNode>().Select(n => n.Compile()),
56 Nodes.OfType<HostSyntaxNode>().Select(n => n.Compile())
List< ISyntaxNode > Nodes
| override void Ntp.Analyzer.Config.Syntax.RootSyntaxNode.ValidateMandatories |
( |
| ) |
|
|
inlineprotectedvirtual |
The documentation for this class was generated from the following file: