Rule BinExpr_2

BinExpr Expr TIMES Expr 


XML Serialization Annotation

This rule has the following XML serialization annotation:
  [
    nsprefix	= "hex"
    localname	= "BinaryArithmeticExpression"
    attributes	= { 
                    op = 2/symbol
                  }
    children	= ( 
                    1
                    3
                  )
  ]
This means that a BinExpr derived through this rule will be serialized thus:

<hex:BinaryArithmeticExpression op = A0>
XML serialization of the 1st RHS symbol (Expr)
XML serialization of the 3rd RHS symbol (Expr)
</hex:BinaryArithmeticExpression>
Legend of attribute values for hex:BinaryArithmeticExpression:
  • A0 is the value of attribute "symbol" of the 2nd RHS symbol (TIMES)


Description

A BinExpr is an Expr followed by the binary operator TIMES followed by an Expr.


Copyright © 2012 by Hassan Aït-Kaci; All Rights Reserved.