EmitDeclareType() 공개 메소드

Emits declaring type into the context.
public EmitDeclareType ( SourceTypeSymbol t ) : void
t Pchp.CodeAnalysis.Symbols.SourceTypeSymbol
리턴 void
예제 #1
0
        internal override void Emit(CodeGenerator cg)
        {
            cg.EmitSequencePoint(this.TypeDecl.HeadingSpan);

            // <ctx>.DeclareType<T>()
            cg.EmitDeclareType(this.Type);
        }