Public Member Functions

el7::scripting::parsing::ExternNode Class Reference

#include <ExternNode.h>

Inheritance diagram for el7::scripting::parsing::ExternNode:
el7::scripting::parsing::ExpressionNode el7::scripting::parsing::Node

List of all members.

Public Member Functions

 ExternNode (unsigned long code_ref, const cl7::string_type &lib_name, const cl7::string_type &identifier)
 ~ExternNode (void)
const cl7::string_typeget_lib_name () const
const cl7::string_typeget_identifier () const
const ExpressionNodes * get_parameter_expression_nodes () const
void add_parameter (ExpressionNode *parameter_expression_node)
void build (building::Builder *builder) const

Detailed Description

Represents an extern node within the syntax tree built by the parser.


Constructor & Destructor Documentation

el7::scripting::parsing::ExternNode::ExternNode ( unsigned long  code_ref,
const cl7::string_type lib_name,
const cl7::string_type identifier 
) [explicit]

Explicit constructor.

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

Destructor.


Member Function Documentation

void el7::scripting::parsing::ExternNode::add_parameter ( ExpressionNode parameter_expression_node  ) 

Adds an expression node as a parameter to pass in to the function.

void el7::scripting::parsing::ExternNode::build ( building::Builder builder  )  const [virtual]
const cl7::string_type& el7::scripting::parsing::ExternNode::get_identifier (  )  const [inline]

Returns the name of the extern function.

const cl7::string_type& el7::scripting::parsing::ExternNode::get_lib_name (  )  const [inline]

Returns the name of the library containing the extern function.

const ExpressionNodes* el7::scripting::parsing::ExternNode::get_parameter_expression_nodes (  )  const [inline]

Returns the list of expression nodes to pass in as parameters.


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