Xbase Language Reference

  1. Preface
  2. Lexical Syntax
    1. Identifiers
      1. Escaped Identifiers
      2. Syntax
      3. Examples
    2. String Literals
      1. Syntax
      2. Examples
    3. Integer Literals
      1. Syntax
    4. Comments
      1. Syntax
    5. White Space
    6. Reserved Keywords
  3. Types
    1. Arrays
    2. Simple Type References
      1. Syntax
      2. Examples
    3. Function Types
      1. Syntax
      2. Examples
    4. Parameterized Type References
      1. Syntax
      2. Examples
    5. Primitives
    6. Conformance and Conversion
      1. Common Super Type
  4. Expressions
    1. Literals
      1. String Literals
      2. Integer Literals
      3. Boolean Literals
      4. Null Literal
      5. Type Literals
    2. Type Casts
      1. Syntax
      2. Examples
    3. Infix Operators / Operator Overloading
      1. Short-Circuit Boolean Operators
      2. Examples
      3. Assignments
    4. Feature Calls
      1. Syntax
      2. Property Access
      3. Implicit 'this' variable
      4. Null-Safe Feature Call
    5. Constructor Call
      1. Examples
      2. Syntax
    6. Closures
      1. Syntax
      2. Typing
      3. Function Mapping
      4. Examples
    7. If Expression
      1. Syntax
      2. Typing
      3. Examples
    8. Switch Expression
      1. Type guards
      2. Typing
      3. Examples
      4. Syntax
    9. Variable Declarations
      1. Syntax
      2. Typing
    10. Blocks
      1. Examples
      2. Syntax
    11. For Loop
      1. Syntax
    12. While Loop
      1. Syntax
      2. Examples
    13. Do-While Loop
      1. Syntax
      2. Examples
    14. Return Expression
    15. Throwing Exceptions
    16. Try, Catch, Finally