Public Types | Public Member Functions

el7::scripting::parsing::TableEntryNode Class Reference

#include <TableEntryNode.h>

Inheritance diagram for el7::scripting::parsing::TableEntryNode:
el7::scripting::parsing::VariableSpecNode el7::scripting::parsing::Node

List of all members.

Public Types

enum  AccessType { Direct, Indirect }

Public Member Functions

 TableEntryNode (unsigned long code_ref, const cl7::string_type &identifier, bool lvalue=false)
 TableEntryNode (unsigned long code_ref, ExpressionNode *expression_node, bool lvalue=false)
 ~TableEntryNode (void)
AccessType get_access_type () const
const cl7::string_typeget_identifier () const
const ExpressionNodeget_expression_node () const
void build (building::Builder *builder) const

Detailed Description

Represents a table entry node within the syntax tree built by the parser.


Member Enumeration Documentation

Enumerator:
Direct 
Indirect 

Constructor & Destructor Documentation

el7::scripting::parsing::TableEntryNode::TableEntryNode ( unsigned long  code_ref,
const cl7::string_type identifier,
bool  lvalue = false 
)

Explicit constructor.

el7::scripting::parsing::TableEntryNode::TableEntryNode ( unsigned long  code_ref,
ExpressionNode expression_node,
bool  lvalue = false 
)

Explicit constructor.

el7::scripting::parsing::TableEntryNode::~TableEntryNode ( void   ) 

Destructor.


Member Function Documentation

void el7::scripting::parsing::TableEntryNode::build ( building::Builder builder  )  const [virtual]
AccessType el7::scripting::parsing::TableEntryNode::get_access_type (  )  const [inline]

Returns the access type of the table entry (direct or indirect).

const ExpressionNode* el7::scripting::parsing::TableEntryNode::get_expression_node (  )  const [inline]

Returns the expression node representing the table entry name (in case of indirect access).

const cl7::string_type& el7::scripting::parsing::TableEntryNode::get_identifier (  )  const [inline]

Returns the name of the table entry (in case of direct access).


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines