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