V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::AsmJsScanner Class Reference

Public Types

enum  { kLocalsStart = -10000, kGlobalsStart = 256 }
 
typedef int32_t token_t
 

Public Member Functions

 AsmJsScanner (Utf16CharacterStream *stream)
 
token_t Token () const
 
size_t Position () const
 
void Next ()
 
void Rewind ()
 
const std::string & GetIdentifierString () const
 
bool IsPrecededByNewline () const
 
void Seek (size_t pos)
 
void EnterLocalScope ()
 
void EnterGlobalScope ()
 
void ResetLocals ()
 
bool IsLocal () const
 
bool IsGlobal () const
 
bool IsUnsigned () const
 
uint32_t AsUnsigned () const
 
bool IsDouble () const
 
double AsDouble () const
 

Static Public Member Functions

static bool IsLocal (token_t token)
 
static bool IsGlobal (token_t token)
 
static size_t LocalIndex (token_t token)
 
static size_t GlobalIndex (token_t token)
 

Detailed Description

Definition at line 30 of file asm-scanner.h.


The documentation for this class was generated from the following files: