Example #1
0
 public virtual T Visit(LiteralNum node)
 {
     return(default(T));
 }
Example #2
0
 public override BaseType Visit(LiteralNum node)
 {
     return(new NumType());
 }
Example #3
0
 public override string Visit(LiteralNum node)
 {
     return(node.Value.ToString());
 }