C# Class Mono.CSharp.StringConstant

Inheritance: Constant
Mostrar archivo Open project: vargaz/mono Class Usage Examples

Public Methods

Method Description
ConvertExplicitly ( bool in_checked_context, System.TypeSpec target_type ) : Constant
ConvertImplicitly ( System.TypeSpec type ) : Constant
Emit ( EmitContext ec ) : void
EncodeAttributeValue ( IMemberContext rc, Mono.CSharp.AttributeEncoder enc, System.TypeSpec targetType, System.TypeSpec parameterType ) : void
GetValue ( ) : object
GetValueAsLiteral ( ) : string
GetValueAsLong ( ) : long
StringConstant ( BuiltinTypes types, string s, Mono.CSharp.Location loc ) : System
StringConstant ( System.TypeSpec type, string s, Mono.CSharp.Location loc ) : System

Protected Methods

Method Description
StringConstant ( Mono.CSharp.Location loc ) : System

Method Details

ConvertExplicitly() public method

public ConvertExplicitly ( bool in_checked_context, System.TypeSpec target_type ) : Constant
in_checked_context bool
target_type System.TypeSpec
return Constant

ConvertImplicitly() public method

public ConvertImplicitly ( System.TypeSpec type ) : Constant
type System.TypeSpec
return Constant

Emit() public method

public Emit ( EmitContext ec ) : void
ec EmitContext
return void

EncodeAttributeValue() public method

public EncodeAttributeValue ( IMemberContext rc, Mono.CSharp.AttributeEncoder enc, System.TypeSpec targetType, System.TypeSpec parameterType ) : void
rc IMemberContext
enc Mono.CSharp.AttributeEncoder
targetType System.TypeSpec
parameterType System.TypeSpec
return void

GetValue() public method

public GetValue ( ) : object
return object

GetValueAsLiteral() public method

public GetValueAsLiteral ( ) : string
return string

GetValueAsLong() public method

public GetValueAsLong ( ) : long
return long

StringConstant() public method

public StringConstant ( BuiltinTypes types, string s, Mono.CSharp.Location loc ) : System
types BuiltinTypes
s string
loc Mono.CSharp.Location
return System

StringConstant() protected method

protected StringConstant ( Mono.CSharp.Location loc ) : System
loc Mono.CSharp.Location
return System

StringConstant() public method

public StringConstant ( System.TypeSpec type, string s, Mono.CSharp.Location loc ) : System
type System.TypeSpec
s string
loc Mono.CSharp.Location
return System