示例#1
0
 /// <summary>变量引用</summary>
 public static MatchPattern CreateVariableRef(VariableRef Value)
 {
     return(new MatchPattern {
         _Tag = MatchPatternTag.VariableRef, VariableRef = Value
     });
 }
示例#2
0
 /// <summary>变量引用</summary>
 public static Expr CreateVariableRef(VariableRef Value)
 {
     return(new Expr {
         _Tag = ExprTag.VariableRef, VariableRef = Value
     });
 }
示例#3
0
 /// <summary>变量</summary>
 public static LeftValueRef CreateVariable(VariableRef Value)
 {
     return(new LeftValueRef {
         _Tag = LeftValueRefTag.Variable, Variable = Value
     });
 }