v8
3.14.5(node0.10.28)
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 | IsCompareOp (Value op) |
static bool | IsOrderedRelationalCompareOp (Value op) |
static bool | IsEqualityOp (Value op) |
static Value | NegateCompareOp (Value op) |
static Value | InvertCompareOp (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) |
Definition at line 241 of file token.h.
References ASSERT, v8::internal::EQ, and Token::IsCompareOp().
|
inlinestatic |
Definition at line 206 of file token.h.
Referenced by Assignment::Init().
|
inlinestatic |
Definition at line 210 of file token.h.
Referenced by BinaryOperation::BinaryOperation().
|
inlinestatic |
Definition at line 214 of file token.h.
References v8::internal::EQ, and IN.
Referenced by CompareOperation::CompareOperation(), v8::internal::EvalComparison(), HCompareGeneric::HCompareGeneric(), HCompareIDAndBranch::HCompareIDAndBranch(), HStringCompareAndBranch::HStringCompareAndBranch(), ICCompareStub::ICCompareStub(), Token::InvertCompareOp(), and Token::NegateCompareOp().
|
inlinestatic |
Definition at line 222 of file token.h.
References v8::internal::EQ.
|
inlinestatic |
Definition at line 218 of file token.h.
Referenced by HCompareIDAndBranch::SetInputRepresentation().
|
inlinestatic |
Definition at line 260 of file token.h.
References v8::internal::ADD, v8::internal::SUB, and VOID.
Referenced by UnaryOperation::UnaryOperation().
|
inlinestatic |
Definition at line 196 of file token.h.
References ASSERT, and Token::NUM_TOKENS.
Referenced by HCompareGeneric::PrintDataTo(), HCompareIDAndBranch::PrintDataTo(), HStringCompareAndBranch::PrintDataTo(), HBitwise::PrintDataTo(), and v8::internal::RUNTIME_FUNCTION().
Definition at line 226 of file token.h.
References ASSERT, v8::internal::EQ, and Token::IsCompareOp().
|
inlinestatic |
Definition at line 282 of file token.h.
References ASSERT, and Token::NUM_TOKENS.
Definition at line 275 of file token.h.
References ASSERT, and Token::NUM_TOKENS.
Referenced by LCmpIDAndBranch::PrintDataTo(), and TestStreamScanner().