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

#include <Nodes.h>

Inheritance diagram for JSC::Node:
JSC::ParserArenaFreeable JSC::ExportSpecifierNode JSC::ExpressionNode JSC::FunctionMetadataNode JSC::ImportSpecifierNode JSC::ModuleNameNode JSC::StatementNode JSC::ArgumentListNode JSC::ArrayNode JSC::AssignBracketNode JSC::AssignDotNode JSC::AssignErrorNode JSC::AssignResolveNode JSC::AwaitExprNode JSC::BaseFuncExprNode JSC::BinaryOpNode JSC::BitwiseNotNode JSC::BracketAccessorNode JSC::BytecodeIntrinsicNode JSC::ClassExprNode JSC::CommaNode JSC::ConditionalNode JSC::ConstantNode JSC::DeleteBracketNode JSC::DeleteDotNode JSC::DeleteResolveNode JSC::DeleteValueNode JSC::DestructuringAssignmentNode JSC::DotAccessorNode JSC::EmptyLetExpression JSC::EmptyVarExpression JSC::EvalFunctionCallNode JSC::FunctionCallBracketNode JSC::FunctionCallDotNode JSC::FunctionCallResolveNode JSC::FunctionCallValueNode JSC::ImportNode JSC::LogicalOpNode JSC::NewExprNode JSC::NewTargetNode JSC::ObjectLiteralNode JSC::PrefixNode JSC::PropertyListNode JSC::ReadModifyBracketNode JSC::ReadModifyDotNode JSC::ReadModifyResolveNode JSC::RegExpNode JSC::ResolveNode JSC::SpreadExpressionNode JSC::SuperNode JSC::TaggedTemplateNode JSC::TemplateLiteralNode JSC::TemplateStringNode JSC::ThisNode JSC::TypeOfResolveNode JSC::TypeOfValueNode JSC::UnaryOpNode JSC::VoidNode JSC::YieldExprNode JSC::BlockNode JSC::BreakNode JSC::ClassDeclNode JSC::ContinueNode JSC::DebuggerStatementNode JSC::DeclarationStatement JSC::DoWhileNode JSC::EmptyStatementNode JSC::EnumerationNode JSC::ExprStatementNode JSC::ForNode JSC::FuncDeclNode JSC::IfElseNode JSC::LabelNode JSC::ModuleDeclarationNode JSC::ReturnNode JSC::ScopeNode JSC::SwitchNode JSC::ThrowNode JSC::TryNode JSC::WhileNode JSC::WithNode

Public Member Functions

virtual ~Node ()
 
int firstLine () const
 
int startOffset () const
 
int endOffset () const
 
int lineStartOffset () const
 
const JSTextPosition & position () const
 
void setEndOffset (int offset)
 
void setStartOffset (int offset)
 
bool needsDebugHook () const
 
void setNeedsDebugHook ()
 
- Public Member Functions inherited from JSC::ParserArenaFreeable
void * operator new (size_t, ParserArena &)
 

Protected Member Functions

 Node (const JSTokenLocation &)
 

Protected Attributes

JSTextPosition m_position
 
int m_endOffset
 
bool m_needsDebugHook { false }
 

Constructor & Destructor Documentation

◆ Node()

Node::Node ( const JSTokenLocation &  location)
inlineprotected

◆ ~Node()

virtual JSC::Node::~Node ( )
inlinevirtual

Member Function Documentation

◆ endOffset()

int JSC::Node::endOffset ( ) const
inline

◆ firstLine()

int JSC::Node::firstLine ( ) const
inline

◆ lineStartOffset()

int JSC::Node::lineStartOffset ( ) const
inline

◆ needsDebugHook()

bool JSC::Node::needsDebugHook ( ) const
inline

◆ position()

const JSTextPosition& JSC::Node::position ( ) const
inline

◆ setEndOffset()

void JSC::Node::setEndOffset ( int  offset)
inline

◆ setNeedsDebugHook()

void JSC::Node::setNeedsDebugHook ( )
inline

◆ setStartOffset()

void JSC::Node::setStartOffset ( int  offset)
inline

◆ startOffset()

int JSC::Node::startOffset ( ) const
inline

Member Data Documentation

◆ m_endOffset

int JSC::Node::m_endOffset
protected

◆ m_needsDebugHook

bool JSC::Node::m_needsDebugHook { false }
protected

◆ m_position

JSTextPosition JSC::Node::m_position
protected

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