EmitDeclareFunction() public method

Emits declaring function into the context.
public EmitDeclareFunction ( SourceFunctionSymbol f ) : void
f Pchp.CodeAnalysis.Symbols.SourceFunctionSymbol
return void
Ejemplo n.º 1
0
        internal override void Emit(CodeGenerator cg)
        {
            cg.EmitSequencePoint(this.FunctionDecl.HeadingSpan);

            // <ctx>.DeclareFunction ...
            cg.EmitDeclareFunction(this.Function);
        }