Пример #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;
 }