In This Article

Expression Class

Represents an expression.

public class Expression : AstNodeBase, IAstNode
Inheritance:
Object AstNodeBase Object
Derived:
AddressOfExpression AnonymousMethodExpression AssignmentExpression AwaitExpression BinaryOperatorExpression CastExpression CheckedExpression ConditionalExpression DefaultValueExpression InitializerExpression InstanceExpression InvocationExpression IsPatternExpression IsTypeOfExpression LambdaExpression LiteralExpression MemberAccess NameOfExpression ObjectCreationExpression ParenthesizedExpression QueryExpression RefExpression ReturnTypeExpression SimpleName SizeOfExpression StackAllocationInitializer ThrowExpression TryCastExpression TupleLiteralDeclaration TypeOfExpression UnaryOperatorExpression UncheckedExpression VariableDeclarationExpression WithTargetExpression XmlNamespaceExpression
Implements:
IAstNode

Remarks

This type was generated by the Actipro Language Designer tool v12.2.572.0 (http://www.actiprosoftware.com).

Constructors

Expression()

public Expression()

Properties

Id

Gets the An integer value that identifies the type of AST node.

public override int Id { get; }

Property Value

Int32:

The An integer value that identifies the type of AST node.

Methods

FromQualifiedName(QualifiedName)

Creates an AST Expression from an AST QualifiedName.

public static Expression FromQualifiedName(QualifiedName qualifiedName)
Parameter Type Description
qualifiedName QualifiedName

The AST QualifiedName to examine.

Returns

Expression:

The AST Expression that was created.

FromQualifiedName(IQualifiedName)

Creates an AST Expression from an IQualifiedName.

public static Expression FromQualifiedName(IQualifiedName qualifiedName)
Parameter Type Description
qualifiedName IQualifiedName

The IQualifiedName to examine.

Returns

Expression:

The AST Expression that was created.

Inherited Members