Module gwy :: Class ExprError
[hide private]
[frames] | no frames]

Class ExprError

source code

Error codes returned by expression parsing and execution.


Note: All the enumerated values are defined at the module level, not the class level. The are just groupped by class here for easier orientation.

Class Variables [hide private]
  EXPR_ERROR_CLOSING_PARENTHESIS
A closing parenthesis is missing.
  EXPR_ERROR_CONSTANT_NAME
Constant name is invalid.
  EXPR_ERROR_EMPTY
Expression is empty.
  EXPR_ERROR_EMPTY_PARENTHESES
A parentheses pair contain nothing inside.
  EXPR_ERROR_GARBAGE
An symbol unexpectedly managed to survive.
  EXPR_ERROR_INVALID_ARGUMENT
Function or operator argument is not a value.
  EXPR_ERROR_INVALID_TOKEN
Expression contains an invalid token.
  EXPR_ERROR_MISSING_ARGUMENT
Function or operator arguments is missing.
  EXPR_ERROR_NOT_EXECUTABLE
Compiled stack is not executable.
  EXPR_ERROR_OPENING_PARENTHESIS
An opening parenthesis is missing.
  EXPR_ERROR_STRAY_COMMA
A comma at the start or end of list.
  EXPR_ERROR_UNRESOLVED_IDENTIFIERS
Expression contains unresolved identifiers.