TinyaP::AstNode Class Reference

#include <tinyap.h>

Collaboration diagram for TinyaP::AstNode:

Collaboration graph
[legend]

Public Member Functions

 AstNode (ast_node_t ptr)
 AstNode ()
 ~AstNode ()
bool isNil () const
bool isList () const
bool isOp () const
bool isString () const
const char * getString () const
AstNodegetOperand (const int n) const
int getOperandCount () const
const char * getOperator () const
AstNodegetElement (const int n) const
const char * toString () const
void toFile (const char *fnam) const
int getRow () const
int getCol () const
ast_node_t getHandle () const

Detailed Description

Definition at line 312 of file tinyap.h.


Constructor & Destructor Documentation

TinyaP::AstNode::AstNode ( ast_node_t  ptr  )  [inline]

Definition at line 314 of file tinyap.h.

TinyaP::AstNode::AstNode (  )  [inline]

Definition at line 316 of file tinyap.h.

TinyaP::AstNode::~AstNode (  )  [inline]

Definition at line 318 of file tinyap.h.


Member Function Documentation

bool TinyaP::AstNode::isNil (  )  const [inline]

Definition at line 320 of file tinyap.h.

References tinyap_node_is_nil().

Here is the call graph for this function:

bool TinyaP::AstNode::isList (  )  const [inline]

Definition at line 322 of file tinyap.h.

References tinyap_node_is_list().

Here is the call graph for this function:

bool TinyaP::AstNode::isOp (  )  const [inline]

Definition at line 324 of file tinyap.h.

References tinyap_list_get_element(), tinyap_node_is_list(), and tinyap_node_is_string().

Here is the call graph for this function:

bool TinyaP::AstNode::isString (  )  const [inline]

Definition at line 326 of file tinyap.h.

References tinyap_node_is_string().

Here is the call graph for this function:

const char* TinyaP::AstNode::getString (  )  const [inline]

Definition at line 328 of file tinyap.h.

References tinyap_node_get_string().

Here is the call graph for this function:

AstNode* TinyaP::AstNode::getOperand ( const int  n  )  const [inline]

Definition at line 330 of file tinyap.h.

int TinyaP::AstNode::getOperandCount (  )  const [inline]

Definition at line 332 of file tinyap.h.

const char* TinyaP::AstNode::getOperator (  )  const [inline]

Definition at line 334 of file tinyap.h.

References tinyap_list_get_element(), and tinyap_node_get_string().

Here is the call graph for this function:

AstNode* TinyaP::AstNode::getElement ( const int  n  )  const [inline]

Definition at line 336 of file tinyap.h.

const char* TinyaP::AstNode::toString (  )  const [inline]

Definition at line 338 of file tinyap.h.

References tinyap_serialize_to_string().

Here is the call graph for this function:

void TinyaP::AstNode::toFile ( const char *  fnam  )  const [inline]

Definition at line 340 of file tinyap.h.

References tinyap_serialize_to_file().

Here is the call graph for this function:

int TinyaP::AstNode::getRow (  )  const [inline]

Definition at line 343 of file tinyap.h.

References tinyap_node_get_row().

Here is the call graph for this function:

int TinyaP::AstNode::getCol (  )  const [inline]

Definition at line 346 of file tinyap.h.

References tinyap_node_get_col().

Here is the call graph for this function:

ast_node_t TinyaP::AstNode::getHandle (  )  const [inline]

Definition at line 349 of file tinyap.h.

Referenced by TinyaP::Parser::setGrammarAST().

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
Generated on Sun May 11 14:32:44 2008 for TINYAP by  doxygen 1.5.3