• DoctypeDeclaration{http://etl.sf.net/etl/doctype/0.2.1}:
    • systemId: "calculator-vars-0_2_1.g.etl"
  • VarStatement{http://etl.sf.net/samples/calculator/vars}:
    • documentation:
      • DocumentationLine{http://etl.sf.net/samples/calculator/meta}:
        • text: /// The constant PI
    • annotations:
      • Annotation{http://etl.sf.net/samples/calculator/meta}:
        • name:
          • Name{http://etl.sf.net/samples/calculator/vars}:
            • literal: JavaConstant
        • arguments:
          • StringLiteral{http://etl.sf.net/samples/calculator}:
            • value: "java.lang.Math"
          • StringLiteral{http://etl.sf.net/samples/calculator}:
            • value: "PI"
    • type: let
    • name:
      • Name{http://etl.sf.net/samples/calculator/vars}:
        • literal: PI
  • VarStatement{http://etl.sf.net/samples/calculator/vars}:
    • documentation:
      • DocumentationLine{http://etl.sf.net/samples/calculator/meta}:
        • text: /// The constant E
    • annotations:
      • Annotation{http://etl.sf.net/samples/calculator/meta}:
        • name:
          • Name{http://etl.sf.net/samples/calculator/vars}:
            • literal: JavaConstant
        • arguments:
          • StringLiteral{http://etl.sf.net/samples/calculator}:
            • value: "java.lang.Math"
          • StringLiteral{http://etl.sf.net/samples/calculator}:
            • value: "E"
    • type: let
    • name:
      • Name{http://etl.sf.net/samples/calculator/vars}:
        • literal: E
  • VarStatement{http://etl.sf.net/samples/calculator/vars}:
    • documentation:
      • DocumentationLine{http://etl.sf.net/samples/calculator/meta}:
        • text: /// Not a number
    • annotations:
      • Annotation{http://etl.sf.net/samples/calculator/meta}:
        • name:
          • Name{http://etl.sf.net/samples/calculator/vars}:
            • literal: JavaConstant
        • arguments:
          • StringLiteral{http://etl.sf.net/samples/calculator}:
            • value: "java.lang.Double"
          • StringLiteral{http://etl.sf.net/samples/calculator}:
            • value: "NaN"
    • type: let
    • name:
      • Name{http://etl.sf.net/samples/calculator/vars}:
        • literal: NaN
  • VarStatement{http://etl.sf.net/samples/calculator/vars}:
    • documentation:
      • DocumentationLine{http://etl.sf.net/samples/calculator/meta}:
        • text: /// Positive infinity
    • annotations:
      • Annotation{http://etl.sf.net/samples/calculator/meta}:
        • name:
          • Name{http://etl.sf.net/samples/calculator/vars}:
            • literal: JavaConstant
        • arguments:
          • StringLiteral{http://etl.sf.net/samples/calculator}:
            • value: "java.lang.Double"
          • StringLiteral{http://etl.sf.net/samples/calculator}:
            • value: "POSITIVE_INFINITY"
    • type: let
    • name:
      • Name{http://etl.sf.net/samples/calculator/vars}:
        • literal: POSITIVE_INFINITY
  • VarStatement{http://etl.sf.net/samples/calculator/vars}:
    • documentation:
      • DocumentationLine{http://etl.sf.net/samples/calculator/meta}:
        • text: /// Negative infinity
    • annotations:
      • Annotation{http://etl.sf.net/samples/calculator/meta}:
        • name:
          • Name{http://etl.sf.net/samples/calculator/vars}:
            • literal: JavaConstant
        • arguments:
          • StringLiteral{http://etl.sf.net/samples/calculator}:
            • value: "java.lang.Double"
          • StringLiteral{http://etl.sf.net/samples/calculator}:
            • value: "NEGATIVE_INFINITY"
    • type: let
    • name:
      • Name{http://etl.sf.net/samples/calculator/vars}:
        • literal: NEGATIVE_INFINITY
  • VarStatement{http://etl.sf.net/samples/calculator/vars}:
    • documentation:
      • DocumentationLine{http://etl.sf.net/samples/calculator/meta}:
        • text: /// Maximum positive value
    • annotations:
      • Annotation{http://etl.sf.net/samples/calculator/meta}:
        • name:
          • Name{http://etl.sf.net/samples/calculator/vars}:
            • literal: JavaConstant
        • arguments:
          • StringLiteral{http://etl.sf.net/samples/calculator}:
            • value: "java.lang.Double"
          • StringLiteral{http://etl.sf.net/samples/calculator}:
            • value: "MAX_VALUE"
    • type: let
    • name:
      • Name{http://etl.sf.net/samples/calculator/vars}:
        • literal: MAX_NUMBER
  • VarStatement{http://etl.sf.net/samples/calculator/vars}:
    • documentation:
      • DocumentationLine{http://etl.sf.net/samples/calculator/meta}:
        • text: /// Minimum positive value
    • annotations:
      • Annotation{http://etl.sf.net/samples/calculator/meta}:
        • name:
          • Name{http://etl.sf.net/samples/calculator/vars}:
            • quoted: Q'JavaConstant'
        • arguments:
          • StringLiteral{http://etl.sf.net/samples/calculator}:
            • value: "java.lang.Double"
          • StringLiteral{http://etl.sf.net/samples/calculator}:
            • value: "MIN_VALUE"
    • type: let
    • name:
      • Name{http://etl.sf.net/samples/calculator/vars}:
        • quoted: q'MIN_NUMBER'
  • VarStatement{http://etl.sf.net/samples/calculator/vars}:
    • documentation:
      • DocumentationLine{http://etl.sf.net/samples/calculator/meta}:
        • text: /// Maximum integer value
    • type: let
    • name:
      • Name{http://etl.sf.net/samples/calculator/vars}:
        • literal: MAX_INTEGER
    • value:
      • NumberLiteral{http://etl.sf.net/samples/calculator}:
        • value: 16#7FFF_FFFF#
  • VarStatement{http://etl.sf.net/samples/calculator/vars}:
    • documentation:
      • DocumentationLine{http://etl.sf.net/samples/calculator/meta}:
        • text: /// Minimum integer value
    • type: let
    • name:
      • Name{http://etl.sf.net/samples/calculator/vars}:
        • literal: MIN_INTEGER
    • value:
      • UnaryMinus{http://etl.sf.net/samples/calculator/arith}:
        • value:
          • NumberLiteral{http://etl.sf.net/samples/calculator}:
            • value: 16#8000_0000#
  • VarStatement{http://etl.sf.net/samples/calculator/vars}:
    • documentation:
      • DocumentationLine{http://etl.sf.net/samples/calculator/meta}:
        • text: /// The null constant
    • type: let
    • name:
      • Name{http://etl.sf.net/samples/calculator/vars}:
        • literal: null
    • value:
      • Sequence{http://etl.sf.net/samples/calculator}:
         1: doctype "calculator-vars-0_2_1.g.etl";
         2: // This file contains some useful constants. This file is loaded 
         3: // when language level is "vars".
         4: 
         5: /// The constant PI
         6: @JavaConstant("java.lang.Math","PI") 
         7: let PI;
         8: /// The constant E
         9: @JavaConstant("java.lang.Math","E") 
        10: let E;
        11: /// Not a number
        12: @JavaConstant("java.lang.Double","NaN") 
        13: let NaN;
        14: /// Positive infinity
        15: @JavaConstant("java.lang.Double","POSITIVE_INFINITY") 
        16: let POSITIVE_INFINITY;
        17: /// Negative infinity
        18: @JavaConstant("java.lang.Double","NEGATIVE_INFINITY") 
        19: let NEGATIVE_INFINITY;
        20: /// Maximum positive value
        21: @JavaConstant("java.lang.Double","MAX_VALUE") 
        22: let MAX_NUMBER;
        23: /// Minimum positive value
        24: @Q'JavaConstant'("java.lang.Double","MIN_VALUE") 
        25: let q'MIN_NUMBER';
        26: /// Maximum integer value
        27: let MAX_INTEGER = 16#7FFF_FFFF#;
        28: /// Minimum integer value
        29: let MIN_INTEGER = -16#8000_0000#;
        30: /// The null constant
        31: let null = {};