v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::Parser::TemplateLiteral Class Reference
Inheritance diagram for v8::internal::Parser::TemplateLiteral:
Collaboration diagram for v8::internal::Parser::TemplateLiteral:

Public Member Functions

 TemplateLiteral (Zone *zone, int pos)
 
const ZonePtrList< const AstRawString > * cooked () const
 
const ZonePtrList< const AstRawString > * raw () const
 
const ZonePtrList< Expression > * expressions () const
 
int position () const
 
void AddTemplateSpan (const AstRawString *cooked, const AstRawString *raw, int end, Zone *zone)
 
void AddExpression (Expression *expression, Zone *zone)
 
- Public Member Functions inherited from v8::internal::ZoneObject
void * operator new (size_t, Zone *)=delete
 
void * operator new (size_t size, void *ptr)
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)=delete
 

Private Attributes

ZonePtrList< const AstRawStringcooked_
 
ZonePtrList< const AstRawStringraw_
 
ZonePtrList< Expressionexpressions_
 
int pos_
 

Detailed Description

Definition at line 487 of file parser.h.

Constructor & Destructor Documentation

◆ TemplateLiteral()

v8::internal::Parser::TemplateLiteral::TemplateLiteral ( Zone * zone,
int pos )
inline

Definition at line 489 of file parser.h.

Member Function Documentation

◆ AddExpression()

void v8::internal::Parser::TemplateLiteral::AddExpression ( Expression * expression,
Zone * zone )
inline

Definition at line 504 of file parser.h.

◆ AddTemplateSpan()

void v8::internal::Parser::TemplateLiteral::AddTemplateSpan ( const AstRawString * cooked,
const AstRawString * raw,
int end,
Zone * zone )
inline

Definition at line 497 of file parser.h.

◆ cooked()

const ZonePtrList< const AstRawString > * v8::internal::Parser::TemplateLiteral::cooked ( ) const
inline

Definition at line 492 of file parser.h.

Here is the caller graph for this function:

◆ expressions()

const ZonePtrList< Expression > * v8::internal::Parser::TemplateLiteral::expressions ( ) const
inline

Definition at line 494 of file parser.h.

Here is the caller graph for this function:

◆ position()

int v8::internal::Parser::TemplateLiteral::position ( ) const
inline

Definition at line 495 of file parser.h.

Here is the caller graph for this function:

◆ raw()

const ZonePtrList< const AstRawString > * v8::internal::Parser::TemplateLiteral::raw ( ) const
inline

Definition at line 493 of file parser.h.

Here is the caller graph for this function:

Member Data Documentation

◆ cooked_

ZonePtrList<const AstRawString> v8::internal::Parser::TemplateLiteral::cooked_
private

Definition at line 509 of file parser.h.

◆ expressions_

ZonePtrList<Expression> v8::internal::Parser::TemplateLiteral::expressions_
private

Definition at line 511 of file parser.h.

◆ pos_

int v8::internal::Parser::TemplateLiteral::pos_
private

Definition at line 512 of file parser.h.

◆ raw_

ZonePtrList<const AstRawString> v8::internal::Parser::TemplateLiteral::raw_
private

Definition at line 510 of file parser.h.


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