Public Types | Public Member Functions

el7::scripting::parsing::BlockNode Class Reference

#include <BlockNode.h>

Inheritance diagram for el7::scripting::parsing::BlockNode:
el7::scripting::parsing::CommandNode el7::scripting::parsing::Node

List of all members.

Public Types

typedef std::vector
< CommandNode * > 
CommandNodes
typedef std::vector
< CommandNode * > 
CommandNodeIterator

Public Member Functions

 BlockNode (unsigned long code_ref)
 ~BlockNode (void)
const CommandNodesget_command_nodes () const
void add_command_node (CommandNode *command_node)
void build (building::Builder *builder) const

Detailed Description

Represents a block node within the syntax tree built by the parser.


Member Typedef Documentation


Constructor & Destructor Documentation

el7::scripting::parsing::BlockNode::BlockNode ( unsigned long  code_ref  ) 

Explicit constructor.

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

Destructor.


Member Function Documentation

void el7::scripting::parsing::BlockNode::add_command_node ( CommandNode command_node  ) 

Adds a command node.

void el7::scripting::parsing::BlockNode::build ( building::Builder builder  )  const [virtual]
const CommandNodes* el7::scripting::parsing::BlockNode::get_command_nodes (  )  const [inline]

Returns the list of command nodes representing the commands of the block.


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