Module: Minjs::ECMA262

Defined in:
lib/minjs/ecma262.rb,
lib/minjs/ecma262/env.rb,
lib/minjs/ecma262/base.rb,
lib/minjs/ecma262/literal.rb,
lib/minjs/ecma262/statement.rb,
lib/minjs/ecma262/expression.rb,
lib/minjs/ecma262/punctuator.rb

Overview

ECMA262

Defined Under Namespace

Modules: AssignmentOperation, BinaryOperation, UnaryOperation Classes: Base, Boolean, DeclarativeEnvRecord, DivOrRegexpLiteral, ECMA262Array, ECMA262Numeric, ECMA262Object, ECMA262RegExp, ECMA262String, EnvRecord, ExeContext, ExpAdd, ExpAddAssign, ExpAnd, ExpAndAssign, ExpAssign, ExpBitwiseNot, ExpCall, ExpComma, ExpCond, ExpDelete, ExpDiv, ExpDivAssign, ExpEq, ExpGt, ExpGtEq, ExpIn, ExpInstanceOf, ExpLShift, ExpLShiftAssign, ExpLogicalAnd, ExpLogicalNot, ExpLogicalOr, ExpLt, ExpLtEq, ExpMod, ExpModAssign, ExpMul, ExpMulAssign, ExpNegative, ExpNew, ExpNotEq, ExpOr, ExpOrAssign, ExpParen, ExpPositive, ExpPostDec, ExpPostInc, ExpPreDec, ExpPreInc, ExpProp, ExpPropBrac, ExpRShift, ExpRShiftAssign, ExpStrictEq, ExpStrictNotEq, ExpSub, ExpSubAssign, ExpTypeof, ExpURShift, ExpURShiftAssign, ExpVoid, ExpXor, ExpXorAssign, Expression, IdentifierName, LexEnv, LineTerminator, Literal, MultiLineComment, Null, ObjectEnvRecord, Prog, Punctuator, SingleLineComment, SourceElements, StBlock, StBreak, StContinue, StDebugger, StDoWhile, StEmpty, StExp, StFor, StForIn, StForInVar, StForVar, StFunc, StIf, StLabelled, StReturn, StSwitch, StThrow, StTry, StTryCatch, StVar, StWhile, StWith, Statement, StatementList, This, WhiteSpace

Constant Summary collapse

LIT_DIV_OR_REGEXP_LITERAL =

DivOrRegexpLiteral

DivOrRegexpLiteral.get
LIT_LINE_TERMINATOR =

line feed (“n”) element

LineTerminator.get
LITERAL_TRUE =

true literal

Boolean.new(:true)
LITERAL_FALSE =

false literal

Boolean.new(:false)
NUMERIC_NAN =

NaN element

ECMA262Numeric.new(:nan)
ID_THIS =

reserved word “this”

IdentifierName.get(:this)
ID_VAR =

reserved word “var”

IdentifierName.get(:var)
ID_IN =

reserved word “in”

IdentifierName.get(:in)
ID_INSTANCEOF =

reserved word “instanceof”

IdentifierName.get(:instanceof)
ID_FUNCTION =

reserved word “function”

IdentifierName.get(:function)
ID_NULL =

reserved word “null”

IdentifierName.get(:null)
ID_TRUE =

reserved word “true”

IdentifierName.get(:true)
ID_FALSE =

reserved word “false”

IdentifierName.get(:false)
ID_NEW =

reserved word “new”

IdentifierName.get(:new)
ID_DELETE =

reserved word “delete”

IdentifierName.get(:delete)
ID_VOID =

reserved word “void”

IdentifierName.get(:void)
ID_TYPEOF =

reserved word “typeof”

IdentifierName.get(:typeof)
ID_IF =

reserved word “if”

IdentifierName.get(:if)
ID_ELSE =

reserved word “else”

IdentifierName.get(:else)
ID_FOR =

reserved word “for”

IdentifierName.get(:for)
ID_WHILE =

reserved word “while”

IdentifierName.get(:while)
ID_DO =

reserved word “do”

IdentifierName.get(:do)
ID_CONTINUE =

reserved word “continue”

IdentifierName.get(:continue)
ID_BREAK =

reserved word “break”

IdentifierName.get(:break)
ID_RETURN =

reserved word “return”

IdentifierName.get(:return)
ID_WITH =

reserved word “with”

IdentifierName.get(:with)
ID_SWITCH =

reserved word “switch”

IdentifierName.get(:switch)
ID_THROW =

reserved word “throw”

IdentifierName.get(:throw)
ID_TRY =

reserved word “try”

IdentifierName.get(:try)
ID_CATCH =

reserved word “catch”

IdentifierName.get(:catch)
ID_FINALLY =

reserved word “finally”

IdentifierName.get(:finally)
ID_DEBUGGER =

reserved word “debugger”

IdentifierName.get(:debugger)
ID_CASE =

reserved word “case”

IdentifierName.get(:case)
ID_DEFAULT =

reserved word “default”

IdentifierName.get(:default)
ID_GET =

get (non-reserved word)

IdentifierName.get(:get)
ID_SET =

set (non-reserved word)

IdentifierName.get(:set)
PRIORITY_PRIMARY =

priority

10
PRIORITY_LEFT_HAND_SIDE =

priority

20
PRIORITY_POSTFIX =

priority

30
PRIORITY_UNARY =

priority

40
PRIORITY_MULTIPLICATIVE =

priority

50
PRIORITY_ADDITIVE =

priority

60
PRIORITY_SHIFT =

priority

70
PRIORITY_RELATIONAL =

priority

80
PRIORITY_EQUALITY =

priority

90
PRIORITY_BITWISE_AND =

priority

100
PRIORITY_BITWISE_XOR =

priority

106
PRIORITY_BITWISE_OR =

priority

108
PRIORITY_LOGICAL_AND =

priority

110
PRIORITY_LOGICAL_OR =

priority

116
PRIORITY_CONDITIONAL =

priority

120
PRIORITY_ASSIGNMENT =

priority

130
PRIORITY_COMMA =

priority

140
PUNC_CONDIF =

punctuator

Punctuator.get('?')
PUNC_ASSIGN =

punctuator

Punctuator.get('=')
PUNC_DIVASSIGN =

punctuator

Punctuator.get('/=')
PUNC_MULASSIGN =

punctuator

Punctuator.get('*=')
PUNC_MODASSIGN =

punctuator

Punctuator.get('%=')
PUNC_ADDASSIGN =

punctuator

Punctuator.get('+=')
PUNC_SUBASSIGN =

punctuator

Punctuator.get('-=')
PUNC_LSHIFTASSIGN =

punctuator

Punctuator.get('<<=')
PUNC_RSHIFTASSIGN =

punctuator

Punctuator.get('>>=')
PUNC_URSHIFTASSIGN =

punctuator

Punctuator.get('>>>=')
PUNC_ANDASSIGN =

punctuator

Punctuator.get('&=')
PUNC_XORASSIGN =

punctuator

Punctuator.get('^=')
PUNC_ORASSIGN =

punctuator

Punctuator.get('|=')
PUNC_LOR =

punctuator

Punctuator.get('||')
PUNC_LAND =

punctuator

Punctuator.get('&&')
PUNC_OR =

punctuator

Punctuator.get('|')
PUNC_XOR =

punctuator

Punctuator.get('^')
PUNC_AND =

punctuator

Punctuator.get('&')
PUNC_EQ =

punctuator

Punctuator.get('==')
PUNC_NEQ =

punctuator

Punctuator.get('!=')
PUNC_SEQ =

punctuator

Punctuator.get('===')
PUNC_SNEQ =

punctuator

Punctuator.get('!==')
PUNC_LT =

punctuator

Punctuator.get('<')
PUNC_GT =

punctuator

Punctuator.get('>')
PUNC_LTEQ =

punctuator

Punctuator.get('<=')
PUNC_GTEQ =

punctuator

Punctuator.get('>=')
PUNC_LSHIFT =

punctuator

Punctuator.get('<<')
PUNC_RSHIFT =

punctuator

Punctuator.get('>>')
PUNC_URSHIFT =

punctuator

Punctuator.get('>>>')
PUNC_ADD =

punctuator

Punctuator.get('+')
PUNC_SUB =

punctuator

Punctuator.get('-')
PUNC_MUL =

punctuator

Punctuator.get('*')
PUNC_DIV =

punctuator

Punctuator.get('/')
PUNC_MOD =

punctuator

Punctuator.get('%')
PUNC_INC =

punctuator

Punctuator.get('++')
PUNC_DEC =

punctuator

Punctuator.get('--')
PUNC_NOT =

punctuator

Punctuator.get('~')
PUNC_LNOT =

punctuator

Punctuator.get('!')
PUNC_LPARENTHESIS =

punctuator

Punctuator.get('(')
PUNC_RPARENTHESIS =

punctuator

Punctuator.get(')')
PUNC_LSQBRAC =

punctuator

Punctuator.get('[')
PUNC_RSQBRAC =

punctuator

Punctuator.get(']')
PUNC_LCURLYBRAC =

punctuator

Punctuator.get('{')
PUNC_RCURLYBRAC =

punctuator

Punctuator.get('}')
PUNC_COMMA =

punctuator

Punctuator.get(',')
PUNC_COLON =

punctuator

Punctuator.get(':')
PUNC_SEMICOLON =

punctuator

Punctuator.get(';')
PUNC_PERIOD =

punctuator

Punctuator.get('.')