class NstDeclaration: public NstTree

Class NstDeclaration

Inheritance:


Public Fields

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

Public Methods

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


Inherited from NstTree:

Public Fields

olong tree_id
oNstUserInfo user_info

Public Methods

oNstTree* cut_buffer() const
ovoid error(const char* st) const
ovoid warning(const char* st) const
oostream& operator << (ostream& s, const NstTree& t)
oNstTree* init()
oNstTree* init(NstTrees::iterator &it)
oNstTree* next()
oNstTree* next(NstTrees::iterator &it)
ovoid traversal(int (*action)(NstTree*, void*), void* extra = NULL)
oNstTree* upsearch(int (*comptest)(NstTree*, void*), void* extra = NULL)
oNstTree* cut()
oNstDefinition* search(const NstIdentifier& i, int tp = -1) const
ovoid replace(NstTree& n)
oNstTree* in() const
o fathers() const
ostring whoami() const


Documentation

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

oint type() const
The type is NST_DECLARATION.

ochar* class_type() const
Returns the string NST_DECLARATION.

ochar* class_name() const
Returns the string NstDeclaration.

oint base_type() const
Gives the base type of the object.

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

oint line_number
Line number in the source code.

ostring above_comment
above_comment.

ostring below_comment
below_comment.

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

oNstDeclaration* clone() const
Recursive cloning.

oNstDeclaration& 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 HTML hierarchy of classes or Java



This page was generated with the help of DOC++.