public MathFuncNode VisitChildren(Antlr4.Runtime.Tree.IRuleNode node) { MathFuncNode firstNode = null; for (int i = 0; i < node.ChildCount; i++) { MathFuncNode result = Visit(node.GetChild(i)); if (i == 0) { firstNode = result; } } return(firstNode); }
//We bail out whenever we already know that the module is non-empty. protected override bool ShouldVisitNextChild(Antlr4.Runtime.Tree.IRuleNode node, bool currentResult) { return(currentResult); }
public double VisitChildren(Antlr4.Runtime.Tree.IRuleNode node) { throw new NotImplementedException(); }