OpenADFortTk (SourceProcessing)
|
Public Member Functions | |
def | __init__ |
def | __str__ |
Static Public Member Functions | |
def | parse |
Static Public Attributes | |
string | kw = 'casedefault' |
string | kw_str = 'case default' |
Static Private Attributes | |
list | _sons = [] |
case default [case-construct-name]
Definition at line 2740 of file fortStmts.py.
def PyFort.fortStmts.CaseDefaultStmt.__init__ | ( | self, | |
lineNumber = 0 , |
|||
label = False , |
|||
lead = '' , |
|||
internal = [] , |
|||
rest = [] |
|||
) |
initializes a generic statement object formatting (leading whitespace or line breaks) lineNumber: contains the line number the statement was originally on label: contains a statement's numeric label, if there was one lead:contains the line lead, excluding the 6 leading spaces for fixed format (if input was in fixed format) internal: a list of internal comments accessed: determines whether or not the statement has been accessed and potentially modified, since the rawline is only updated when a statement is accessed
Reimplemented from PyFort.fortStmts.Exec.
Definition at line 2760 of file fortStmts.py.
References PyFort.fortStmts.CaseDefaultStmt.__str__().
Referenced by PyFort.fortStmts.CaseDefaultStmt.parse().
def PyFort.fortStmts.CaseDefaultStmt.__str__ | ( | self | ) |
Reimplemented from PyFort.fortStmts.NonComment.
Definition at line 2763 of file fortStmts.py.
Referenced by PyFort.fortStmts.CaseDefaultStmt.__init__().
def PyFort.fortStmts.CaseDefaultStmt.parse | ( | ws_scan, | |
lineNumber | |||
) | [static] |
Definition at line 2751 of file fortStmts.py.
References PyFort.fortStmts.CaseDefaultStmt.__init__(), PyUtil::l_assembler.lit(), and PyUtil::assembler.seq().
list PyFort::fortStmts.CaseDefaultStmt::_sons = [] [static, private] |
Reimplemented from PyFort.fortStmts.GenStmt.
Definition at line 2746 of file fortStmts.py.
Referenced by PyFort.fortStmts.NonComment::__repr__(), PyFort.fortStmts.Exec::__repr__(), PyFort.fortStmts.NonComment::get_sons(), and PyIR.mutable_tree._Mutable_T::subtrees().
string PyFort::fortStmts.CaseDefaultStmt::kw = 'casedefault' [static] |
Definition at line 2747 of file fortStmts.py.
Referenced by PyFort.fortStmts.DeallocateStmt.__str__(), PyFort.fortStmts.NullifyStmt.__str__(), PyFort.fortStmts.BackspaceStmt.__str__(), and PyFort.fortStmts.BuiltinExec.__str__().
string PyFort::fortStmts.CaseDefaultStmt::kw_str = 'case default' [static] |
Definition at line 2748 of file fortStmts.py.
Referenced by PyFort.fortStmts.VarAttrib.__str__(), and PyFort.fortStmts.ComplexEndStmt.__str__().