Up: Relating Phrase Structure to
Precedence and association are expressed in the phrase structure by
These concepts have to do with the relationship between the linear text and
the semantic structure, and are no longer relevant once the AST has been
Retaining distinctions between semantically-equivalent nonterminals in the
AST is counterproductive:
Primary PrimaryNoNewArray ArrayCreationExpression Literal
ClassInstanceCreationExpression FieldAccess MethodInvocation ArrayAccess
PostfixExpression PostIncrementExpression PostDecrementExpression
UnaryExpression PreIncrementExpression PreDecrementExpression
UnaryExpressionNotPlusMinus CastExpression MultiplicativeExpression
AdditiveExpression ShiftExpression RelationalExpression EqualityExpression
AndExpression ExclusiveOrExpression InclusiveOrExpression
ConditionalAndExpression ConditionalOrExpression ConditionalExpression
AssignmentExpression Assignment StatementExpression ConstantExpression .
Initializer ::= ArrayInitializer .
Dimension ::= DimExpr .
This macro is invoked in definition 22.