Uses of Class
codeanalysis.syntax.ExpressionSyntax
Packages that use ExpressionSyntax
-
Uses of ExpressionSyntax in codeanalysis.binding
Methods in codeanalysis.binding with parameters of type ExpressionSyntaxModifier and TypeMethodDescriptionBinder.bindExpression(ExpressionSyntax syntax) Binds the given expression syntax and returns the corresponding bound expression. -
Uses of ExpressionSyntax in codeanalysis.syntax
Subclasses of ExpressionSyntax in codeanalysis.syntaxModifier and TypeClassDescriptionclassThe AssignmentExpressionSyntax class represents an assignment expression in the syntax tree.final classRepresents a binary expression in the syntax tree.final classRepresents a literal expression in the syntax tree.classThe NameExpressionSyntax class represents a name expression in the syntax tree.final classRepresents a parenthesized expression in the syntax tree.final classRepresents a unary expression in the syntax tree.Methods in codeanalysis.syntax that return ExpressionSyntaxModifier and TypeMethodDescriptionParanthesizedExpressionSyntax.getExpression()Gets the expression contained within the parentheses of the parenthesized expression.AssignmentExpressionSyntax.getExpressionSyntax()Retrieves the expression syntax representing the assigned value.BinaryExpressionSyntax.getLeft()Gets the left-hand side expression.UnaryExpressionSyntax.getOperand()Gets the operand of the unary expression.BinaryExpressionSyntax.getRight()Gets the right-hand side expression.SyntaxTree.getRoot()Gets the root expression syntax node of the syntax tree.Parser.parseAssignmentExpression()Parses an assignment expression.Methods in codeanalysis.syntax with parameters of type ExpressionSyntaxModifier and TypeMethodDescriptionvoidParanthesizedExpressionSyntax.setExpression(ExpressionSyntax _expression) Sets the expression contained within the parentheses of the parenthesized expression.voidBinaryExpressionSyntax.setLeft(ExpressionSyntax left) Sets the left-hand side expression.voidUnaryExpressionSyntax.setOperand(ExpressionSyntax operand) Sets the operand of the unary expression.voidBinaryExpressionSyntax.setRight(ExpressionSyntax right) Sets the right-hand side expression.Constructors in codeanalysis.syntax with parameters of type ExpressionSyntaxModifierConstructorDescriptionAssignmentExpressionSyntax(SyntaxToken identifierToken, SyntaxToken equalsToken, ExpressionSyntax expressionSyntax) Creates a new instance of the AssignmentExpressionSyntax class with the specified identifier token, equals token, and expression syntax.BinaryExpressionSyntax(ExpressionSyntax left, SyntaxToken operator, ExpressionSyntax right) Initializes a new instance of the BinaryExpressionSyntax class.ParanthesizedExpressionSyntax(SyntaxToken openParenthesisToken, ExpressionSyntax expression, SyntaxToken closeParenthesisToken) Initializes a new instance of the ParenthesizedExpressionSyntax class with the specified tokens and expression.SyntaxTree(SourceText text, DiagnosticBox diagnostics, ExpressionSyntax root, SyntaxToken EOFToken) Initializes a new instance of the SyntaxTree class with the specified diagnostics, root expression syntax, and end-of-file token.UnaryExpressionSyntax(SyntaxToken operator, ExpressionSyntax operand) Initializes a new instance of the UnaryExpressionSyntax class.