XmlGenExDoc/XML.html

# Summary of XML Serialization Patterns for Grammar XmlGenEx.grm

Terminal or Rule: | XML Serialization Pattern:
--- | ---
> `AND`
> `<hex:BooleanOperator symbol = "&"/>`
> `EQUAL`
> `<hex:RelationalOperator symbol = "="/>`
> `GREATER`
> `<hex:RelationalOperator symbol = ">"/>`
> `IDENT`
> `<hex:identifier name = `ident`/>`
> `NUMBER`
> `<hex:number value = `number`/>`
> `OR`
> `<hex:BooleanOperator symbol = "|"/>`
> `PLUS`
> `<hex:ArithmeticOperator symbol = "+"/>`
> `SMALLER`
> `<hex:RelationalOperator symbol = "<"/>`
> `STRING`
> `<hex:string value = `string`/>`
> `TIMES`
> `<hex:ArithmeticOperator symbol = "*"/>`
> `VAR`
> `<hex:variable name = `var`/>`
> `BinExpr` |  |
> `Expr`
> `PLUS`
> `Expr`
>     <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 (`PLUS`)
> `BinExpr` |  |
> `Expr`
> `TIMES`
> `Expr`
>     <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`)
> `BinExpr` |  |
> `Expr`
> `AND`
> `Expr`
>     <hex:BinaryBooleanExpression op = A0>
> XML serialization of the 1st RHS symbol (`Expr`)
> XML serialization of the 3rd RHS symbol (`Expr`)
>     </hex:BinaryBooleanExpression>
Legend of attribute values for `hex:BinaryBooleanExpression:` `A0` is the value of attribute `"symbol"` of the 2nd RHS symbol (`AND`)
> `BinExpr` |  |
> `Expr`
> `OR`
> `Expr`
>     <hex:BinaryBooleanExpression op = A0>
> XML serialization of the 1st RHS symbol (`Expr`)
> XML serialization of the 3rd RHS symbol (`Expr`)
>     </hex:BinaryBooleanExpression>
Legend of attribute values for `hex:BinaryBooleanExpression:` `A0` is the value of attribute `"symbol"` of the 2nd RHS symbol (`OR`)
> `BinExpr` |  |
> `Expr`
> `PartialRelationalExpr`
>     <hex:BinaryRelationalExpression op = A0>
> XML serialization of the 1st RHS symbol (`Expr`)
> XML serialization of the 1st XML component of the 2nd RHS symbol (`PartialRelationalExpr`)
>     </hex:BinaryRelationalExpression>
Legend of attribute values for `hex:BinaryRelationalExpression:` `A0` is the value of attribute `"op"` of the 2nd RHS symbol (`PartialRelationalExpr`)
> `PartialRelationalExpr` |  |
> `SMALLER`
> `Expr`
>     <hex:PartialRelationalExpression op = A0>
> XML serialization of the 2nd RHS symbol (`Expr`)
>     </hex:PartialRelationalExpression>
Legend of attribute values for `hex:PartialRelationalExpression:` `A0` is the value of attribute `"symbol"` of the 1st RHS symbol (`SMALLER`)
> `PartialRelationalExpr` |  |
> `EQUAL`
> `Expr`
>     <hex:PartialRelationalExpression op = A0>
> XML serialization of the 2nd RHS symbol (`Expr`)
>     </hex:PartialRelationalExpression>
Legend of attribute values for `hex:PartialRelationalExpression:` `A0` is the value of attribute `"symbol"` of the 1st RHS symbol (`EQUAL`)
> `PartialRelationalExpr` |  |
> `GREATER`
> `Expr`
>     <hex:PartialRelationalExpression op = A0>
> XML serialization of the 2nd RHS symbol (`Expr`)
>     </hex:PartialRelationalExpression>
Legend of attribute values for `hex:PartialRelationalExpression:` `A0` is the value of attribute `"symbol"` of the 1st RHS symbol (`GREATER`)

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