コード例 #1
0
ファイル: DeclarationStatement.cs プロジェクト: adbrowne/abcm
 public DeclarationStatement(Types type, string name, Expression expression, Method method)
     : base(expression)
 {
     Type = type;
     VariableName = name;
     method.Variables.Add(this);
 }
コード例 #2
0
ファイル: TreeBuilder.cs プロジェクト: adbrowne/abcm
 public Method Method(string name, string returnTypeName)
 {
     currentMethod =  new Method(name, GetTypeFromName(returnTypeName));
     return currentMethod;
 }