Пример #1
0
 public JsonArray(OpenBracket openBracket, JsonArrayElements arrayElements, CloseBracket closeBracket)
     : base(openBracket, arrayElements, closeBracket)
 {
     this.openBracket   = openBracket;
     this.arrayElements = arrayElements;
     this.closeBracket  = closeBracket;
 }
Пример #2
0
 public JsonArray(OpenBracket openBracket, JsonArrayElements arrayElements, CloseBracket closeBracket)
     : base(openBracket, arrayElements, closeBracket)
 {
     this.openBracket = openBracket;
     this.arrayElements = arrayElements;
     this.closeBracket = closeBracket;
 }
 protected virtual OpenBracket VisitOpenBracket(OpenBracket node)
 {
     return VisitSyntaxNode(node) as OpenBracket;
 }
 protected override OpenBracket VisitOpenBracket(OpenBracket node)
 {
     visitedOpenBracket = true;
     Assert.IsTrue(node.Value == "[");
     return base.VisitOpenBracket(node);
 }