webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Attributes | List of all members
JSC::FunctionMetadataNode Class Referencefinal

#include <Nodes.h>

Inheritance diagram for JSC::FunctionMetadataNode:
JSC::Node JSC::ParserArenaDeletable JSC::ParserArenaFreeable

Public Member Functions

 FunctionMetadataNode (ParserArena &, const JSTokenLocation &start, const JSTokenLocation &end, unsigned startColumn, unsigned endColumn, int functionKeywordStart, int functionNameStart, int parametersStart, bool isInStrictContext, ConstructorKind, SuperBinding, unsigned parameterCount, unsigned functionLength, SourceParseMode, bool isArrowFunctionBodyExpression)
 
void finishParsing (const SourceCode &, const Identifier &, FunctionMode)
 
void overrideName (const Identifier &ident)
 
const Identifierident ()
 
void setEcmaName (const Identifier &ecmaName)
 
const IdentifierecmaName ()
 
void setInferredName (const Identifier &inferredName)
 
const IdentifierinferredName ()
 
FunctionMode functionMode ()
 
int functionNameStart () const
 
int functionKeywordStart () const
 
int parametersStart () const
 
unsigned startColumn () const
 
unsigned endColumn () const
 
unsigned parameterCount () const
 
unsigned functionLength () const
 
SourceParseMode parseMode () const
 
void setEndPosition (JSTextPosition)
 
const SourceCodesource () const
 
const SourceCodeclassSource () const
 
void setClassSource (const SourceCode &source)
 
int startStartOffset () const
 
bool isInStrictContext () const
 
SuperBinding superBinding ()
 
ConstructorKind constructorKind ()
 
bool isArrowFunctionBodyExpression () const
 
void setLoc (unsigned firstLine, unsigned lastLine, int startOffset, int lineStartOffset)
 
unsigned lastLine () const
 
- Public Member Functions inherited from JSC::Node
virtual ~Node ()
 
int firstLine () const
 
int startOffset () const
 
int endOffset () const
 
int lineStartOffset () const
 
const JSTextPositionposition () const
 
void setEndOffset (int offset)
 
void setStartOffset (int offset)
 
bool needsDebugHook () const
 
void setNeedsDebugHook ()
 
- Public Member Functions inherited from JSC::ParserArenaFreeable
voidoperator new (size_t, ParserArena &)
 
- Public Member Functions inherited from JSC::ParserArenaDeletable
virtual ~ParserArenaDeletable ()
 
voidoperator new (size_t, ParserArena &)
 

Protected Attributes

Identifier m_ident
 
Identifier m_ecmaName
 
Identifier m_inferredName
 
FunctionMode m_functionMode
 
unsigned m_startColumn
 
unsigned m_endColumn
 
int m_functionKeywordStart
 
int m_functionNameStart
 
int m_parametersStart
 
SourceCode m_source
 
SourceCode m_classSource
 
int m_startStartOffset
 
unsigned m_parameterCount
 
unsigned m_functionLength
 
int m_lastLine
 
SourceParseMode m_parseMode
 
unsigned m_isInStrictContext: 1
 
unsigned m_superBinding: 1
 
unsigned m_constructorKind: 2
 
unsigned m_isArrowFunctionBodyExpression: 1
 
- Protected Attributes inherited from JSC::Node
JSTextPosition m_position
 
int m_endOffset
 
bool m_needsDebugHook { false }
 

Additional Inherited Members

- Protected Member Functions inherited from JSC::Node
 Node (const JSTokenLocation &)
 

Constructor & Destructor Documentation

◆ FunctionMetadataNode()

JSC::FunctionMetadataNode::FunctionMetadataNode ( ParserArena ,
const JSTokenLocation start,
const JSTokenLocation end,
unsigned  startColumn,
unsigned  endColumn,
int  functionKeywordStart,
int  functionNameStart,
int  parametersStart,
bool  isInStrictContext,
ConstructorKind  constructorKind,
SuperBinding  superBinding,
unsigned  parameterCount,
unsigned  functionLength,
SourceParseMode  mode,
bool  isArrowFunctionBodyExpression 
)

Member Function Documentation

◆ classSource()

const SourceCode& JSC::FunctionMetadataNode::classSource ( ) const
inline

◆ constructorKind()

ConstructorKind JSC::FunctionMetadataNode::constructorKind ( )
inline

◆ ecmaName()

const Identifier& JSC::FunctionMetadataNode::ecmaName ( )
inline

◆ endColumn()

unsigned JSC::FunctionMetadataNode::endColumn ( ) const
inline

◆ finishParsing()

void JSC::FunctionMetadataNode::finishParsing ( const SourceCode source,
const Identifier ident,
FunctionMode  functionMode 
)

◆ functionKeywordStart()

int JSC::FunctionMetadataNode::functionKeywordStart ( ) const
inline

◆ functionLength()

unsigned JSC::FunctionMetadataNode::functionLength ( ) const
inline

◆ functionMode()

FunctionMode JSC::FunctionMetadataNode::functionMode ( )
inline

◆ functionNameStart()

int JSC::FunctionMetadataNode::functionNameStart ( ) const
inline

◆ ident()

const Identifier& JSC::FunctionMetadataNode::ident ( )
inline

◆ inferredName()

const Identifier& JSC::FunctionMetadataNode::inferredName ( )
inline

◆ isArrowFunctionBodyExpression()

bool JSC::FunctionMetadataNode::isArrowFunctionBodyExpression ( ) const
inline

◆ isInStrictContext()

bool JSC::FunctionMetadataNode::isInStrictContext ( ) const
inline

◆ lastLine()

unsigned JSC::FunctionMetadataNode::lastLine ( ) const
inline

◆ overrideName()

void JSC::FunctionMetadataNode::overrideName ( const Identifier ident)
inline

◆ parameterCount()

unsigned JSC::FunctionMetadataNode::parameterCount ( ) const
inline

◆ parametersStart()

int JSC::FunctionMetadataNode::parametersStart ( ) const
inline

◆ parseMode()

SourceParseMode JSC::FunctionMetadataNode::parseMode ( ) const
inline

◆ setClassSource()

void JSC::FunctionMetadataNode::setClassSource ( const SourceCode source)
inline

◆ setEcmaName()

void JSC::FunctionMetadataNode::setEcmaName ( const Identifier ecmaName)
inline

◆ setEndPosition()

void JSC::FunctionMetadataNode::setEndPosition ( JSTextPosition  position)

◆ setInferredName()

void JSC::FunctionMetadataNode::setInferredName ( const Identifier inferredName)
inline

◆ setLoc()

void JSC::FunctionMetadataNode::setLoc ( unsigned  firstLine,
unsigned  lastLine,
int  startOffset,
int  lineStartOffset 
)
inline

◆ source()

const SourceCode& JSC::FunctionMetadataNode::source ( ) const
inline

◆ startColumn()

unsigned JSC::FunctionMetadataNode::startColumn ( ) const
inline

◆ startStartOffset()

int JSC::FunctionMetadataNode::startStartOffset ( ) const
inline

◆ superBinding()

SuperBinding JSC::FunctionMetadataNode::superBinding ( )
inline

Member Data Documentation

◆ m_classSource

SourceCode JSC::FunctionMetadataNode::m_classSource
protected

◆ m_constructorKind

unsigned JSC::FunctionMetadataNode::m_constructorKind
protected

◆ m_ecmaName

Identifier JSC::FunctionMetadataNode::m_ecmaName
protected

◆ m_endColumn

unsigned JSC::FunctionMetadataNode::m_endColumn
protected

◆ m_functionKeywordStart

int JSC::FunctionMetadataNode::m_functionKeywordStart
protected

◆ m_functionLength

unsigned JSC::FunctionMetadataNode::m_functionLength
protected

◆ m_functionMode

FunctionMode JSC::FunctionMetadataNode::m_functionMode
protected

◆ m_functionNameStart

int JSC::FunctionMetadataNode::m_functionNameStart
protected

◆ m_ident

Identifier JSC::FunctionMetadataNode::m_ident
protected

◆ m_inferredName

Identifier JSC::FunctionMetadataNode::m_inferredName
protected

◆ m_isArrowFunctionBodyExpression

unsigned JSC::FunctionMetadataNode::m_isArrowFunctionBodyExpression
protected

◆ m_isInStrictContext

unsigned JSC::FunctionMetadataNode::m_isInStrictContext
protected

◆ m_lastLine

int JSC::FunctionMetadataNode::m_lastLine
protected

◆ m_parameterCount

unsigned JSC::FunctionMetadataNode::m_parameterCount
protected

◆ m_parametersStart

int JSC::FunctionMetadataNode::m_parametersStart
protected

◆ m_parseMode

SourceParseMode JSC::FunctionMetadataNode::m_parseMode
protected

◆ m_source

SourceCode JSC::FunctionMetadataNode::m_source
protected

◆ m_startColumn

unsigned JSC::FunctionMetadataNode::m_startColumn
protected

◆ m_startStartOffset

int JSC::FunctionMetadataNode::m_startStartOffset
protected

◆ m_superBinding

unsigned JSC::FunctionMetadataNode::m_superBinding
protected

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