BlockIt
blockit::Fortran::blocks::Pod Class Reference
Inheritance diagram for blockit::Fortran::blocks::Pod:
Collaboration diagram for blockit::Fortran::blocks::Pod:

List of all members.

Public Member Functions

def factory
def __init__
def name
def show
def __getstate__
def serialize

Static Public Attributes

string BLOCKTYPE = 'Pod'
 podWord = BLOCKTYPE
tuple KEYWORD = pp.CaselessKeyword(BLOCKTYPE)
tuple VALIDNAME = pp.Word(pp.alphas, pp.alphanums+'_')
tuple FROM = pp.CaselessKeyword('from')
 GRAMMAR = \

Private Attributes

 _name
 _scan
 _module
 _fnc
 _parser

Detailed Description

Definition at line 2802 of file blocks.py.


Constructor & Destructor Documentation

def blockit::Fortran::blocks::Pod::__init__ (   self,
  parameters 
)
A (P)ython (O)n (D)emand block:

pod foo from barmodule
.
.
.
end pod foo

The code contained within the block is processed AT SHOW TIME.  Use
the Prepod block for processing at parse time.

Input
-----
parameters : the groups from the class regex
table : the global symbol table to store the block in

Definition at line 2827 of file blocks.py.


Member Function Documentation

def blockit::Fortran::blocks::Pod::__getstate__ (   self)

Definition at line 2908 of file blocks.py.

def blockit::Fortran::blocks::Pod::factory (   s,
  lineNo,
  tokens 
)
Factory method called by the BlockParser to produce an
instance of the class.

Definition at line 2820 of file blocks.py.

def blockit::Fortran::blocks::Pod::name (   self)
Return the name of the block.

Reimplemented from blockit::blocks::Block.

Definition at line 2865 of file blocks.py.

def blockit::Fortran::blocks::Pod::serialize (   self)
Builds a dictionary tree of the block.

Definition at line 2916 of file blocks.py.

def blockit::Fortran::blocks::Pod::show (   self,
  mangle 
)
Overloaded show() for Pods.

Reimplemented from blockit::Fortran::blocks::FortranBlock.

Definition at line 2869 of file blocks.py.


Member Data Documentation

Definition at line 2843 of file blocks.py.

Definition at line 2843 of file blocks.py.

Reimplemented from blockit::blocks::Block.

Definition at line 2843 of file blocks.py.

Definition at line 2843 of file blocks.py.

Definition at line 2843 of file blocks.py.

Reimplemented from blockit::Fortran::blocks::FortranBlock.

Definition at line 2803 of file blocks.py.

tuple blockit::Fortran::blocks::Pod::FROM = pp.CaselessKeyword('from') [static]

Definition at line 2810 of file blocks.py.

Reimplemented from blockit::blocks::Block.

Definition at line 2812 of file blocks.py.

tuple blockit::Fortran::blocks::Pod::KEYWORD = pp.CaselessKeyword(BLOCKTYPE) [static]

Definition at line 2808 of file blocks.py.

Definition at line 2804 of file blocks.py.

tuple blockit::Fortran::blocks::Pod::VALIDNAME = pp.Word(pp.alphas, pp.alphanums+'_') [static]

Definition at line 2809 of file blocks.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties