CxStatementCode

Description

sealed class Tinman.Core.Cx.Statements.CxStatementCode

Derived from

CxStatement abstract

A statement that contains native code (i.e. non Code-X):

#region Native {619C19A1-EC93-427B-83BA-64A8BEB4B7CA}
...
#endregion

Public / Constants

Language​Cpp


public constant LanguageCpp → ("CPP":string)

Native C++ source code.

Language​Cs


public constant LanguageCs → ("CS":string)

Native C# source code.

Language​Glsl


public constant LanguageGlsl → ("GLSL":string)

Native GLSL source code.

Language​Hlsl


public constant LanguageHlsl → ("HLSL":string)

Native HLSL source code.

Public / Constructors

Cx​Statement​Code

2 overloads


public constructor CxStatementCode1 → (1)

identifier in : GUID

See Identifier.

Creates a new instance of CxStatementCode.


public constructor CxStatementCode2 → (3)

identifier in : GUID

See Identifier.

language in : string

[not-empty]
The language tag, see Language* constants.

code in : string

[not-null]
The native source code.

Creates a new instance of CxStatementCode.

Public / Attributes

Code


[Constant]
public attribute Code → (get)

value : ISortedMapConst<string, string>

[not-null]
The native source code, mapped by programming language.

Returns the native source code.

Identifier


[Constant]
public attribute Identifier → (get)

value : GUID

The native code block identifier.

Returns the identifier of this native code block.