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

List of all members.

Public Member Functions

def factory
def __init__
def name
def sentinel
def __getstate__
def serialize

Static Public Attributes

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

Private Attributes

 _name
 _module
 _fnc
 _scan
 _parser
 _code

Detailed Description

Definition at line 2923 of file blocks.py.


Constructor & Destructor Documentation

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

prepod foo from barmodule
.
.
.
end prepod foo

The code contained within the block is processed AT PARSING TIME.

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

Definition at line 2948 of file blocks.py.


Member Function Documentation

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

Definition at line 3029 of file blocks.py.

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

Definition at line 2941 of file blocks.py.

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

Reimplemented from blockit::blocks::Block.

Definition at line 2984 of file blocks.py.

def blockit::Fortran::blocks::Prepod::sentinel (   self,
  line 
)
Overloaded sentinel() for prepods.

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

Definition at line 2988 of file blocks.py.

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

Definition at line 3037 of file blocks.py.


Member Data Documentation

Reimplemented from blockit::blocks::Block.

Definition at line 2990 of file blocks.py.

Definition at line 2963 of file blocks.py.

Definition at line 2963 of file blocks.py.

Reimplemented from blockit::blocks::Block.

Definition at line 2963 of file blocks.py.

Definition at line 2963 of file blocks.py.

Definition at line 2963 of file blocks.py.

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

Definition at line 2924 of file blocks.py.

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

Definition at line 2931 of file blocks.py.

Reimplemented from blockit::blocks::Block.

Definition at line 2933 of file blocks.py.

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

Definition at line 2929 of file blocks.py.

Definition at line 2925 of file blocks.py.

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

Definition at line 2930 of file blocks.py.


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