Beispiel #1
0
 private static int GetUnsignedInteger(Antlr4.Runtime.Tree.ITerminalNode unsigned)
 {
     return(int.Parse(unsigned.GetText()));
 }
Beispiel #2
0
 public override double VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode node)
 {
     return(double.Parse(node.GetText()));
 }
Beispiel #3
0
 public override string VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode node)
 {
     s += " " + node.GetText() + " ";
     return(base.VisitTerminal(node));
 }