ERights Home elang / grammar 
Back to: Methods and Matchers x No Next Sibling

Lexical
Grammar


 

Identifiers & Keywords

 

Keywords in Use:

Reserved Keywords

  • abstract an as behalf belief believe believes bind
  • case const constructor
  • default defmacro deprecated dispatch do
  • encapsulate encapsulated encapsulates
  • ensure enum eventual eventually export extends
  • forall function given hidden hides
  • implements interface is
  • know knows let method methods native obeys on
  • package private protected public require
  • sake static struct suchthat synchronized
  • this throws transient typedef
  • unum uses virtual void volatile

Punctuation

Operators

  • expr \n
    expr
  • expr ; expr
  • lval := expr
  • define patt := expr
  • expr || expr
  • expr && expr
  • expr == expr
  • expr != expr
  • expr | expr   and   lval |= expr
  • expr ^ expr   and   lval ^= expr
  • expr =~ patt
  • expr !~ patt

  • expr & expr
  • lval &= expr
  • & varName (as expr)
  • & varName (as pattern)

  • expr < expr
  • expr <= expr
  • expr >= expr
  • expr > expr

  • expr .. expr
  • expr ..! expr

  • expr << expr   and   lval <<= expr
  • expr >> expr   and   lval >>= expr

  • expr + expr    and   this           and   lval += expr
  • expr - expr    and   - expr        and   lval -= expr

  • expr * expr    and   lval *= expr
  • expr / expr    and   lval /= expr
  • expr // expr   and   lval //= expr
  • expr % expr    and   lval %= expr
  • expr %% expr   and   lval %%= expr

  • expr ** expr    and   lval **= expr

  • ! expr
  • ~ expr

Other Punctuation

Literals

 

LiteralData

 

QuasiLiterals

 

URILiterals

 

 
Unless stated otherwise, all text on this page which is either unattributed or by Mark S. Miller is hereby placed in the public domain.
ERights Home elang / grammar 
Back to: Methods and Matchers x No Next Sibling
Download    FAQ    API    Mail Archive    Donate

report bug (including invalid html)

Golden Key Campaign Blue Ribbon Campaign