Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
IKeyWord.cs
1using System;
2
3namespace Waher.Script.Model
4{
8 public interface IKeyWord
9 {
13 string KeyWord
14 {
15 get;
16 }
17
21 string[] Aliases
22 {
23 get;
24 }
25
30 {
31 get;
32 }
33
40 bool TryParse(ScriptParser Parser, out ScriptNode Result);
41 }
42}
Base class for all nodes in a parsed script tree.
Definition: ScriptNode.cs:69
Script parser, for custom parsers.
Definition: ScriptParser.cs:10
Interface for keywords with custom parsing.
Definition: IKeyWord.cs:9
string[] InternalKeywords
Any keywords used internally by the custom parser.
Definition: IKeyWord.cs:30
string[] Aliases
Keyword aliases, if available, null if none.
Definition: IKeyWord.cs:22
bool TryParse(ScriptParser Parser, out ScriptNode Result)
Tries to parse a script node.
string KeyWord
Keyword associated with custom parser.
Definition: IKeyWord.cs:14