示例#1
0
 public DeclarationStatement(Types type, string name, Expression expression, Method method)
     : base(expression)
 {
     Type = type;
     VariableName = name;
     method.Variables.Add(this);
 }
示例#2
0
 public Method Method(string name, string returnTypeName)
 {
     currentMethod =  new Method(name, GetTypeFromName(returnTypeName));
     return currentMethod;
 }