ILGPU  0.9.0
ILGPU.IR.ValueInitializer Struct Reference

A general value initializer. More...

Inheritance diagram for ILGPU.IR.ValueInitializer:
ILGPU.IR.ILocation

Public Member Functions

 ValueInitializer (IRContext context, ValueParent parent, Location location)
 Constructs a new value initializer. More...
 
bool HasFlags (ContextFlags flags)
 Returns true if the current context has the given flags. More...
 
string ILocation. FormatErrorMessage (string message)
 Formats an error message to include specific location information. More...
 

Properties

readonly IRContext Context [get]
 Returns the parent context. More...
 
readonly ValueParent Parent [get]
 Returns the associated parent. More...
 
Location Location [get]
 Returns the associated location. More...
 

Detailed Description

A general value initializer.

Constructor & Destructor Documentation

ILGPU.IR.ValueInitializer.ValueInitializer ( IRContext  context,
ValueParent  parent,
Location  location 
)

Constructs a new value initializer.

Parameters
contextThe parent context.
parentThe associated parent.
locationThe current location.

Member Function Documentation

string ILocation. ILGPU.IR.ValueInitializer.FormatErrorMessage ( string  message)

Formats an error message to include specific location information.

Implements ILGPU.IR.ILocation.

bool ILGPU.IR.ValueInitializer.HasFlags ( ContextFlags  flags)

Returns true if the current context has the given flags.

Parameters
flagsThe flags to check.
Returns
True, if the current context has the given flags.

Property Documentation

readonly IRContext ILGPU.IR.ValueInitializer.Context
get

Returns the parent context.

Location ILGPU.IR.ValueInitializer.Location
get

Returns the associated location.

readonly ValueParent ILGPU.IR.ValueInitializer.Parent
get

Returns the associated parent.


The documentation for this struct was generated from the following file: