ABT.Env2.OutFunction C# (CSharp) Method

OutFunction() public method

public OutFunction ( ) : Env2
return Env2
        public Env2 OutFunction() {
            if (this._functionScope.IsNone) {
                throw new InvalidProgramException("Is already global. Cannot go out of function.");
            }
            return new Env2(
                this._globalSymbolTable,
                Option<FunctionScope>.None
            );
        }