ABT.Env2.FunctionScope.Add C# (CSharp) 메소드

Add() 공개 메소드

public Add ( TypeEntry typeEntry ) : FunctionScope
typeEntry TypeEntry
리턴 FunctionScope
            public FunctionScope Add(TypeEntry typeEntry) {
                var localSymbleTable = this.LocalScopes.Peek().Add(typeEntry);
                return new FunctionScope(
                    this.FunctionType,
                    this.FunctionParams,
                    this.LocalScopes.Pop().Push(localSymbleTable)
                );
            }

Same methods

Env2.FunctionScope::Add ( EnumEntry enumEntry ) : FunctionScope
Env2.FunctionScope::Add ( FrameObjectEntry frameObjectEntry ) : FunctionScope
Env2.FunctionScope