C# Class Pchp.CodeAnalysis.Symbols.SourceTypeSymbol

Mostrar archivo Open project: iolevel/peachpie Class Usage Examples

Private Properties

Property Type Description
EmitFieldsCctor void
EmitInit void
EmitInvoke void
EmitPhpCtor void
EmitPhpNew void
EnsureInvokeMethod SynthesizedMethodSymbol
EnsureMembers List
GetDeclaredInterfaces ImmutableArray
GetFieldsToEmit IEnumerable
GetInterfacesToEmit ImmutableArray
GetMethodsToEmit IEnumerable
LoadFields IEnumerable
LoadMethods IEnumerable

Public Methods

Method Description
GetMembers ( ) : ImmutableArray
GetMembers ( string name ) : ImmutableArray
GetTypeMembers ( ) : ImmutableArray
GetTypeMembers ( string name ) : ImmutableArray
SourceTypeSymbol ( SourceFileSymbol file, TypeDecl syntax ) : System

Private Methods

Method Description
EmitFieldsCctor ( Emit module ) : void
EmitInit ( Emit module ) : void
EmitInvoke ( MethodSymbol invoke, Emit module ) : void
EmitPhpCtor ( MethodSymbol ctor, Emit module ) : void
EmitPhpNew ( SynthesizedPhpNewMethodSymbol phpnew, Emit module ) : void
EnsureInvokeMethod ( Emit module ) : SynthesizedMethodSymbol

In case the class implements __invoke method, we create special Invoke() method that is compatible with IPhpCallable interface.

EnsureMembers ( ) : List
GetDeclaredInterfaces ( ConsList basesBeingResolved ) : ImmutableArray
GetFieldsToEmit ( ) : IEnumerable
GetInterfacesToEmit ( ) : ImmutableArray
GetMethodsToEmit ( ) : IEnumerable
LoadFields ( ) : IEnumerable
LoadMethods ( ) : IEnumerable

Method Details

GetMembers() public method

public GetMembers ( ) : ImmutableArray
return ImmutableArray

GetMembers() public method

public GetMembers ( string name ) : ImmutableArray
name string
return ImmutableArray

GetTypeMembers() public method

public GetTypeMembers ( ) : ImmutableArray
return ImmutableArray

GetTypeMembers() public method

public GetTypeMembers ( string name ) : ImmutableArray
name string
return ImmutableArray

SourceTypeSymbol() public method

public SourceTypeSymbol ( SourceFileSymbol file, TypeDecl syntax ) : System
file SourceFileSymbol
syntax TypeDecl
return System