Ejemplo n.º 1
0
 /*基本组*/
 public Exp(
     Exp_Type type,
     String value,
     Location loc,
     Token.Token_Type original_type
     )
     : this(type, value, loc, original_type, null, null, null)
 {
 }
Ejemplo n.º 2
0
 /*kvs-path组*/
 public Exp(
     Exp_Type type,
     String value,
     Location loc,
     Token.Token_Type original_type,
     Node <String> kvs_paths)
     : this(type, value, loc, original_type, null, null, kvs_paths)
 {
 }
Ejemplo n.º 3
0
 /*children组*/
 Exp(
     Exp_Type type,
     String value,
     Location loc,
     Token.Token_Type original_type,
     Node <Exp> children,
     Node <Exp> r_children)
     : this(type, value, loc, original_type, children, r_children, null)
 {
 }
Ejemplo n.º 4
0
 private Exp(
     Exp_Type type,
     String value,
     Location loc,
     Token.Token_Type original_type,
     Node <Exp> children,
     Node <Exp> r_children,
     Node <String> kvs_paths
     )
 {
     this.type          = type;
     this.value         = value;
     this.loc           = loc;
     this.original_type = original_type;
     this.children      = children;
     this.r_children    = r_children;
     this.kvs_paths     = kvs_paths;
 }