Example #1
0
 public TaggedSyntaxNode(SyntaxNode syntaxNode, string tagName)
 {
     _syntaxNode = syntaxNode;
     _tagName = tagName;
 }
Example #2
0
 public Optional(SyntaxNode syntaxNode)
 {
     _syntaxNode = syntaxNode;
 }
Example #3
0
 public Some(SyntaxNode syntaxNode)
 {
     _syntaxNode = syntaxNode;
 }
Example #4
0
 public Many(SyntaxNode syntaxNode)
 {
     _syntaxNode = syntaxNode;
 }
Example #5
0
 public Declare(string type, string name, SyntaxNode syntaxNode)
 {
     _type = type;
     _name = name;
     _syntaxNode = syntaxNode;
 }
Example #6
0
 public CodeAnotation(SyntaxNode syntaxNode, string code)
 {
     _syntaxNode = syntaxNode;
     _code = code;
 }
Example #7
0
 private static void Warning(string message, SyntaxNode set)
 {
 }
Example #8
0
 public bool TryParseExpression(string ebnfText, out SyntaxNode result)
 {
     var input = ebnfText.ToList();
     int endInput;
     var tryParseExpression = _expression.Parse(input, 0, out endInput, out result);
     return tryParseExpression && endInput==input.Count;
 }