• DoctypeDeclaration{http://etl.sf.net/etl/doctype/0.2.1}:
    • systemId: "../grammars/EJ.g.etl"
    • context: "MethodContent"
  • ExpressionStatement{http://etl.sf.net/2006/samples/ej/0.1}:
    • expression:
      • ApplyRoundOp{http://etl.sf.net/2006/samples/ej/0.1}:
        • functor:
          • AccessOp{http://etl.sf.net/2006/samples/ej/0.1}:
            • accessed:
              • IdentityOp{http://etl.sf.net/2006/samples/ej/0.1}:
                • value:
                  • CastOp{http://etl.sf.net/2006/samples/ej/0.1}:
                    • value:
                      • ApplyRoundOp{http://etl.sf.net/2006/samples/ej/0.1}:
                        • functor:
                          • AccessOp{http://etl.sf.net/2006/samples/ej/0.1}:
                            • accessed:
                              • Identifier{http://etl.sf.net/2006/samples/ej/0.1}:
                                • value: list
                            • feature:
                              • Identifier{http://etl.sf.net/2006/samples/ej/0.1}:
                                • value: get
                        • args:
                          • Identifier{http://etl.sf.net/2006/samples/ej/0.1}:
                            • value: i
                    • classifier:
                      • Identifier{http://etl.sf.net/2006/samples/ej/0.1}:
                        • value: Integer
            • feature:
              • Identifier{http://etl.sf.net/2006/samples/ej/0.1}:
                • value: intValue
  • ExpressionStatement{http://etl.sf.net/2006/samples/ej/0.1}:
    • expression:
      • CastOp{http://etl.sf.net/2006/samples/ej/0.1}:
        • value:
          • UnaryMinusOp{http://etl.sf.net/2006/samples/ej/0.1}:
            • value:
              • IntegerLiteral{http://etl.sf.net/2006/samples/ej/0.1}:
                • value: 128
        • classifier:
          • PrimitiveType{http://etl.sf.net/2006/samples/ej/0.1}:
            • name: byte
  • ExpressionStatement{http://etl.sf.net/2006/samples/ej/0.1}:
    • expression:
      • IdentityOp{http://etl.sf.net/2006/samples/ej/0.1}:
        • value:
          • ConditionalOrOp{http://etl.sf.net/2006/samples/ej/0.1}:
            • value1:
              • InstanceOfOp{http://etl.sf.net/2006/samples/ej/0.1}:
                • value:
                  • Identifier{http://etl.sf.net/2006/samples/ej/0.1}:
                    • value: o
                • classifier:
                  • Identifier{http://etl.sf.net/2006/samples/ej/0.1}:
                    • value: String
            • value2:
              • InstanceOfOp{http://etl.sf.net/2006/samples/ej/0.1}:
                • value:
                  • Identifier{http://etl.sf.net/2006/samples/ej/0.1}:
                    • value: o
                • classifier:
                  • Identifier{http://etl.sf.net/2006/samples/ej/0.1}:
                    • value: Integer
     1: doctype "../grammars/EJ.g.etl" context "MethodContent";
     2: // cast operator
     3: (list.get(i) as Integer).intValue(); 
     4: -128 as byte;
     5: // type checking 
     6: (o instanceof String || o instanceof Integer);