class NstDeclaration : public NstTree

Class NstDeclaration

Inheritance:


Public Fields

string above_comment
above_comment.
string below_comment
below_comment.
int line_number
Line number in the source code.

Public Methods

int base_type()
Gives the base type of the object.
const char* class_name()
Returns the string NstDeclaration.
const char* class_type()
Returns the string NST_DECLARATION.
NstDeclaration* clone()
Recursive cloning.
void copy(const NstDeclaration& s)
Recursive copy of s.
NstTree* create_default()
Creates a default object of the base type.
NstDeclaration()
Creates an empty object.
NstDeclaration& operator= (const NstDeclaration& s)
Same as copy.
int type()
The type is NST_DECLARATION.

Inherited from NstTree:

Public Fields

unsigned long tree_id
NstUserInfo user_info

Public Methods

virtual NstTree* cut()
NstTree* cut_buffer()
virtual void error(const char* st)
list <NstTree*> fathers()
NstTree* in()
virtual NstTree* init()
virtual NstTree* init(NstTrees::iterator &it)
virtual NstTree* next()
virtual NstTree* next(NstTrees::iterator &it)
friend ostream& operator << (ostream& s, const NstTree& t)
virtual void replace(NstTree& n)
virtual NstDefinition* search(const NstIdentifier& i, int tp = -1)
void traversal(int (*action)(NstTree*, void*), void* extra = NULL)
NstTree* upsearch(int (*comptest)(NstTree*, void*), void* extra = NULL)
virtual void warning(const char* st)
string whoami()

Documentation

Class NstDeclaration. This class is the base class for representing declarations into a Fortran program.
NstDeclaration()
Creates an empty object.

int type()
The type is NST_DECLARATION.

const char* class_type()
Returns the string NST_DECLARATION.

const char* class_name()
Returns the string NstDeclaration.

int base_type()
Gives the base type of the object.

NstTree* create_default()
Creates a default object of the base type.

int line_number
Line number in the source code.

string above_comment
above_comment.

string below_comment
below_comment.

void copy(const NstDeclaration& s)
Recursive copy of s.

NstDeclaration* clone()
Recursive cloning.

NstDeclaration& operator= (const NstDeclaration& s)
Same as copy.


Direct child classes:
NstDeclarationVarparam
NstDeclarationVariable
NstDeclarationType
NstDeclarationTemplate
NstDeclarationTarget
NstDeclarationSave
NstDeclarationProcessors
NstDeclarationParameter
NstDeclarationNestor
NstDeclarationIntrinsic
NstDeclarationIntent
NstDeclarationImplicit
NstDeclarationFormat
NstDeclarationExternal
NstDeclarationDynamic
NstDeclarationDistribute
NstDeclarationDimension
NstDeclarationData
NstDeclarationCommon
NstDeclarationAllocatable
NstDeclarationAlign

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de