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