C# Class Pchp.CodeAnalysis.Symbols.TypedConstantExtensions

Show file Open project: iolevel/peachpie

Public Methods

Method Description
ToCSharpString ( this constant ) : string

Returns the System.String that represents the current TypedConstant.

Private Methods

Method Description
DisplayEnumConstant ( TypedConstant constant ) : string
DisplaySignedEnumConstant ( TypedConstant constant, SpecialType specialType, long constantToDecode, string typeName ) : string
DisplayUnsignedEnumConstant ( TypedConstant constant, SpecialType specialType, ulong constantToDecode, string typeName ) : string

Method Details

ToCSharpString() public static method

Returns the System.String that represents the current TypedConstant.
public static ToCSharpString ( this constant ) : string
constant this
return string