CxExpressionUsage

Description

[Flags]
enum Tinman.Core.Cx.Expressions.CxExpressionUsage

Enumeration of possible semantic usages of CxExpression objects.

Public / Constants

Unknown

public constant Unknown → (0:int32)

The usage is unknown.

Argument

public constant Argument → (1:int32)

The expression is the value of an argument.

See also

CxArgument

Attribute

public constant Attribute → (2:int32)

The expression is an argument of an attribute.

See also

CxAttribute

Case

public constant Case → (4:int32)

The expression is the value of a switch-case block.

See also

CxCase.Value

ExpressionBinary

public constant ExpressionBinary → (24:int32)

A combination of usage flags.

ExpressionBinary_Left

public constant ExpressionBinary_Left → (8:int32)

The expression is the left side of a binary expression.

ExpressionBinary_Right

public constant ExpressionBinary_Right → (16:int32)

The expression is the right side of a binary expression.

ExpressionCall

public constant ExpressionCall → (32:int32)

The expression is the target of a call expression.

See also

CxExpressionCall

ExpressionCast

public constant ExpressionCast → (64:int32)

The expression is the source value of a cast expression.

See also

CxExpressionCast

ExpressionIf

public constant ExpressionIf → (896:int32)

A combination of usage flags.

ExpressionIf_Condition

public constant ExpressionIf_Condition → (128:int32)

The expression is the condition of an if expression.

ExpressionIf_ValueFalse

public constant ExpressionIf_ValueFalse → (256:int32)

The expression is the false branch of an if expression.

ExpressionIf_ValueTrue

public constant ExpressionIf_ValueTrue → (512:int32)

The expression is the true branch of an if expression.

ExpressionIndex

public constant ExpressionIndex → (3072:int32)

A combination of usage flags.

ExpressionIndex_Index

public constant ExpressionIndex_Index → (1024:int32)

The expression is the index of an element access expression.

ExpressionIndex_Target

public constant ExpressionIndex_Target → (2048:int32)

The expression is the target of an element access expression.

ExpressionMember

public constant ExpressionMember → (12288:int32)

A combination of usage flags.

ExpressionMember_Name

public constant ExpressionMember_Name → (4096:int32)

The expression is the name of a member expression.

ExpressionMember_Target

public constant ExpressionMember_Target → (8192:int32)

The expression is the target of a member expression.

ExpressionNew

public constant ExpressionNew → (49152:int32)

A combination of usage flags.

ExpressionNew_Arguments

public constant ExpressionNew_Arguments → (16384:int32)

The expression is an argument of an object or value creation expression.

ExpressionNew_Length

public constant ExpressionNew_Length → (32768:int32)

The expression is the length of an array creation expression.

ExpressionUnary

public constant ExpressionUnary → (65536:int32)

The expression is the target of a unary expression.

Item

public constant Item → (131072:int32)

The expression is the value of an enum item.

See also

CxItem

MemberConstructor

public constant MemberConstructor → (262144:int32)

The expression is an argument of a base constructor call.

StatementDo

public constant StatementDo → (524288:int32)

The expression is the condition of a do statement.

See also

CxStatementDo

StatementExpression

public constant StatementExpression → (1048576:int32)

The expression is the value of an expression statement.

StatementFor

public constant StatementFor → (6291456:int32)

A combination of usage flags.

StatementFor_Condition

public constant StatementFor_Condition → (2097152:int32)

The expression is the condition of a for statement.

StatementFor_Increment

public constant StatementFor_Increment → (4194304:int32)

The expression is an increment of a for statement.

StatementForEach

public constant StatementForEach → (8388608:int32)

The expression is the element sequence of a foreach statement.

StatementIf

public constant StatementIf → (16777216:int32)

The expression is the condition of an if statement.

See also

CxStatementIf

StatementReturn

public constant StatementReturn → (33554432:int32)

The expression is the value of a return statement.

StatementSwitch

public constant StatementSwitch → (67108864:int32)

The expression is the value of a switch statement.

StatementThrow

public constant StatementThrow → (134217728:int32)

The expression is the value of a throw statement.

StatementWhile

public constant StatementWhile → (268435456:int32)

The expression is the condition of a while statement.

See also

CxStatementWhile

Variable

public constant Variable → (536870912:int32)

The expression is the value of a variable definition.

See also

CxVariable.Value