v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <token.h>
Public Types | |
enum | Value { NUM_TOKENS } |
Static Public Member Functions | |
static const char * | Name (Value tok) |
static bool | IsKeyword (Value tok) |
static bool | IsAssignmentOp (Value tok) |
static bool | IsBinaryOp (Value op) |
static bool | IsTruncatingBinaryOp (Value op) |
static bool | IsCompareOp (Value op) |
static bool | IsOrderedRelationalCompareOp (Value op) |
static bool | IsEqualityOp (Value op) |
static bool | IsInequalityOp (Value op) |
static bool | IsArithmeticCompareOp (Value op) |
static Value | NegateCompareOp (Value op) |
static Value | ReverseCompareOp (Value op) |
static bool | IsBitOp (Value op) |
static bool | IsUnaryOp (Value op) |
static bool | IsCountOp (Value op) |
static bool | IsShiftOp (Value op) |
static const char * | String (Value tok) |
static int | Precedence (Value tok) |
|
inlinestatic |
Definition at line 236 of file token.h.
References Token::IsEqualityOp(), Token::IsInequalityOp(), and Token::IsOrderedRelationalCompareOp().
Referenced by Token::NegateCompareOp(), and Token::ReverseCompareOp().
|
inlinestatic |
Definition at line 208 of file token.h.
Referenced by V8_FINAL< kOperandKind, kNumCachedOperands >::Init(), and ParserBase< Traits >::ParseAssignmentExpression().
|
inlinestatic |
Definition at line 212 of file token.h.
References COMMA.
Referenced by V8_FINAL< kOperandKind, kNumCachedOperands >::BinaryOperation().
|
inlinestatic |
Definition at line 220 of file token.h.
References v8::internal::EQ, and IN.
Referenced by V8_FINAL< kOperandKind, kNumCachedOperands >::CompareOperation(), v8::internal::EvalComparison(), ICCompareStub::ICCompareStub(), and ParserBase< Traits >::ParseBinaryExpression().
|
inlinestatic |
Definition at line 283 of file token.h.
Referenced by ParserBase< Traits >::ParsePostfixExpression(), and ParserBase< Traits >::ParseUnaryExpression().
|
inlinestatic |
Definition at line 228 of file token.h.
References v8::internal::EQ.
Referenced by Token::IsArithmeticCompareOp(), and V8_FINAL< kOperandKind, kNumCachedOperands >::LimitFromPredecessorBlock::LimitIsIncluded().
|
inlinestatic |
Definition at line 232 of file token.h.
Referenced by Token::IsArithmeticCompareOp().
|
inlinestatic |
Definition at line 204 of file token.h.
Referenced by ParserBase< Traits >::ParseIdentifierName(), and ParserBase< Traits >::ParseObjectLiteral().
|
inlinestatic |
Definition at line 224 of file token.h.
Referenced by HCompareNumericAndBranch::InferRepresentation(), and Token::IsArithmeticCompareOp().
|
inlinestatic |
Definition at line 216 of file token.h.
References v8::internal::ROR.
|
inlinestatic |
Definition at line 279 of file token.h.
References v8::internal::ADD, v8::internal::NOT, v8::internal::SUB, and VOID.
Referenced by ParserBase< Traits >::ParseUnaryExpression(), and V8_FINAL< kOperandKind, kNumCachedOperands >::UnaryOperation().
Definition at line 198 of file token.h.
References ASSERT, and Token::NUM_TOKENS.
Referenced by HCompareNumericAndBranch::PrintDataTo(), HStringCompareAndBranch::PrintDataTo(), and CompareIC::UpdateCaches().
Definition at line 241 of file token.h.
References ASSERT, v8::internal::EQ, Token::IsArithmeticCompareOp(), and UNREACHABLE.
|
inlinestatic |
Definition at line 301 of file token.h.
References ASSERT, and Token::NUM_TOKENS.
Referenced by ParserBase< ParserTraits >::Precedence().
Definition at line 258 of file token.h.
References ASSERT, v8::internal::EQ, Token::IsArithmeticCompareOp(), and UNREACHABLE.
Definition at line 294 of file token.h.
References ASSERT, and Token::NUM_TOKENS.
Referenced by ParserBase< Traits >::ReportUnexpectedToken(), and TestStreamScanner().