C# Class ShaderTools.Hlsl.Symbols.TypeFacts

Exibir arquivo Open project: tgjones/HlslTools

Public Properties

Property Type Description
Missing TypeSymbol
Unknown TypeSymbol
Variadic TypeSymbol

Public Methods

Method Description
IsError ( this type ) : bool
IsIntrinsicNumericType ( this type ) : bool
IsMissing ( this type ) : bool
IsUnknown ( this type ) : bool

Private Methods

Method Description
GetDimensionSize ( this type, int dimension ) : int
GetMatchingBoolType ( TypeSymbol numericType ) : TypeSymbol
GetMatrixType ( SyntaxKind kind ) : Tuple
GetNumElements ( this type ) : int
GetNumericTypeWithScalarType ( this type, ScalarType scalarType ) : IntrinsicNumericTypeSymbol
GetScalarType ( ScalarTypeSyntax node ) : ScalarType
GetVectorType ( SyntaxKind kind ) : int>.Tuple
HasExplicitConversionTo ( this left, TypeSymbol right ) : bool
HasImplicitConversionTo ( this left, TypeSymbol right ) : bool
IsCast ( ScalarType left, ScalarType right ) : bool
IsIntCast ( ScalarType left, ScalarType right ) : bool
IsPromotion ( ScalarType left, ScalarType right ) : bool
IsUserDefined ( this type ) : bool
ToDisplayName ( this type ) : string

Method Details

IsError() public static method

public static IsError ( this type ) : bool
type this
return bool

IsIntrinsicNumericType() public static method

public static IsIntrinsicNumericType ( this type ) : bool
type this
return bool

IsMissing() public static method

public static IsMissing ( this type ) : bool
type this
return bool

IsUnknown() public static method

public static IsUnknown ( this type ) : bool
type this
return bool

Property Details

Missing public_oe static_oe property

public static TypeSymbol,ShaderTools.Hlsl.Symbols Missing
return TypeSymbol

Unknown public_oe static_oe property

public static TypeSymbol,ShaderTools.Hlsl.Symbols Unknown
return TypeSymbol

Variadic public_oe static_oe property

public static TypeSymbol,ShaderTools.Hlsl.Symbols Variadic
return TypeSymbol