public void Visit(Block node) { foreach (ElementBase child in node.Children) { child.Accept(this); } }
public override void ExitBlock(QLParser.BlockContext context) { IList<ElementBase> children = GetChildren(); Block block = new Block(children, SourceLocation.CreateFor(context)); AppendToAST(block); }
public Form(Identifier identifier, Block block, SourceLocation sourceLocation) : this(identifier, block) { SourceLocation = sourceLocation; }
public Form(Identifier identifier, Block block) { Identifier = identifier; Block = block; }