webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Friends | List of all members
JSC::PropertyNode Class Reference

#include <Nodes.h>

Inheritance diagram for JSC::PropertyNode:
JSC::ParserArenaFreeable

Public Types

enum  Type {
  Constant = 1, Getter = 2, Setter = 4, Computed = 8,
  Shorthand = 16
}
 
enum  PutType { Unknown, KnownDirect }
 

Public Member Functions

 PropertyNode (const Identifier &, ExpressionNode *, Type, PutType, SuperBinding, bool isClassProperty)
 
 PropertyNode (ExpressionNode *propertyName, ExpressionNode *, Type, PutType, SuperBinding, bool isClassProperty)
 
ExpressionNodeexpressionName () const
 
const Identifiername () const
 
Type type () const
 
bool needsSuperBinding () const
 
bool isClassProperty () const
 
PutType putType () const
 
- Public Member Functions inherited from JSC::ParserArenaFreeable
voidoperator new (size_t, ParserArena &)
 

Friends

class PropertyListNode
 

Member Enumeration Documentation

◆ PutType

Enumerator
Unknown 
KnownDirect 

◆ Type

Enumerator
Constant 
Getter 
Setter 
Computed 
Shorthand 

Constructor & Destructor Documentation

◆ PropertyNode() [1/2]

JSC::PropertyNode::PropertyNode ( const Identifier name,
ExpressionNode assign,
Type  type,
PutType  putType,
SuperBinding  superBinding,
bool  isClassProperty 
)
inline

◆ PropertyNode() [2/2]

JSC::PropertyNode::PropertyNode ( ExpressionNode propertyName,
ExpressionNode assign,
Type  type,
PutType  putType,
SuperBinding  superBinding,
bool  isClassProperty 
)
inline

Member Function Documentation

◆ expressionName()

ExpressionNode* JSC::PropertyNode::expressionName ( ) const
inline

◆ isClassProperty()

bool JSC::PropertyNode::isClassProperty ( ) const
inline

◆ name()

const Identifier* JSC::PropertyNode::name ( ) const
inline

◆ needsSuperBinding()

bool JSC::PropertyNode::needsSuperBinding ( ) const
inline

◆ putType()

PutType JSC::PropertyNode::putType ( ) const
inline

◆ type()

Type JSC::PropertyNode::type ( ) const
inline

Friends And Related Function Documentation

◆ PropertyListNode

friend class PropertyListNode
friend

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