Esempio n. 1
0
 public MethodSymbol(string name, IType returnType, IMethodScope enclosingScope, bool isStatic = false)
     : base(name, returnType, new MethodBodyScope(enclosingScope))
 {
     IsStatic = isStatic;
 }
Esempio n. 2
0
 internal static MethodSymbol CreateAndDefineMethod(string name, IType type, IMethodScope scope)
 {
     var sym = new MethodSymbol(name, type, scope);
     scope.Define(sym);
     return sym;
 }
Esempio n. 3
0
 public MethodBodyScope(IMethodScope enclosingScope)
     : base(enclosingScope, true)
 {
 }