OpenADFortTk (SourceProcessing)
|
Public Member Functions | |
def | __init__ |
def | matchTypes |
Public Attributes | |
lineNumber | |
localSymtab | |
Private Member Functions | |
def | __modCompare |
def | __typeCompare |
def | __typeCompare |
def | _typemerge |
def | _constantType |
def | __identifierType |
def | __intrinsicType |
def | __guessBytesFromKind |
def | _guessBytes |
def | __matchTypeMod |
def | __matchTypeModList |
def | __genericFunctionType |
def | _appType |
def | __selectionType |
def | _expressionType |
Definition at line 37 of file inference.py.
def PyFort.inference._TypeContext.__init__ | ( | self, | |
lineNumber, | |||
localSymtab | |||
) |
Definition at line 38 of file inference.py.
def PyFort.inference._TypeContext.__genericFunctionType | ( | self, | |
aFunctionApp | |||
) | [private] |
Definition at line 374 of file inference.py.
References PyFort::inference._genericResolve(), PP.transformActiveVariables.TransformError.lineNumber, PyFort.inference.InferenceError.lineNumber, PP.unitPostProcess.PostProcessError.lineNumber, PyFort.fortLine.fline.lineNumber, Canon.canon.CanonError.lineNumber, PyFort.fortLine.cline.lineNumber, PyFort.inference._TypeContext.lineNumber, PyFort.fortStmts._DimensionArraySpec.lineNumber, PyFort.fortStmts.GenStmt.lineNumber, PyFort.fortStmts.Comments.lineNumber, and PyFort.inference._TypeContext.localSymtab.
Referenced by PyFort.inference._TypeContext._appType().
def PyFort.inference._TypeContext.__guessBytesFromKind | ( | self, | |
aKindExpressionMod | |||
) | [private] |
Definition at line 271 of file inference.py.
References PyFort.inference._TypeContext.__guessBytesFromKind(), PP.transformActiveVariables.TransformError.lineNumber, PyFort.inference.InferenceError.lineNumber, PP.unitPostProcess.PostProcessError.lineNumber, PyFort.fortLine.fline.lineNumber, Canon.canon.CanonError.lineNumber, PyFort.fortLine.cline.lineNumber, PyFort.inference._TypeContext.lineNumber, PyFort.fortStmts._DimensionArraySpec.lineNumber, PyFort.fortStmts.GenStmt.lineNumber, and PyFort.fortStmts.Comments.lineNumber.
Referenced by PyFort.inference._TypeContext.__guessBytesFromKind(), PyFort.inference._TypeContext.__identifierType(), PyFort.inference._TypeContext.__intrinsicType(), PyFort.inference._TypeContext._constantType(), and PyFort.inference._TypeContext._guessBytes().
def PyFort.inference._TypeContext.__identifierType | ( | self, | |
anId | |||
) | [private] |
Definition at line 190 of file inference.py.
References PyFort.inference._TypeContext.__guessBytesFromKind(), PP.transformActiveVariables.TransformError.lineNumber, PyFort.inference.InferenceError.lineNumber, PP.unitPostProcess.PostProcessError.lineNumber, PyFort.fortLine.fline.lineNumber, Canon.canon.CanonError.lineNumber, PyFort.fortLine.cline.lineNumber, PyFort.inference._TypeContext.lineNumber, PyFort.fortStmts._DimensionArraySpec.lineNumber, PyFort.fortStmts.GenStmt.lineNumber, PyFort.fortStmts.Comments.lineNumber, and PyFort.inference._TypeContext.localSymtab.
Referenced by PyFort.inference._TypeContext._appType(), and PyFort.inference._TypeContext._expressionType().
def PyFort.inference._TypeContext.__intrinsicType | ( | self, | |
anIntrinsicApp | |||
) | [private] |
Definition at line 231 of file inference.py.
References PyFort.inference._TypeContext.__guessBytesFromKind(), PyFort.inference._TypeContext._expressionType(), PyFort.inference._TypeContext._typemerge(), and PyFort::intrinsic.getNonStandard().
Referenced by PyFort.inference._TypeContext._appType().
def PyFort.inference._TypeContext.__matchTypeMod | ( | self, | |
aTypeMod, | |||
otherIndexList, | |||
otherTypeModList | |||
) | [private] |
Definition at line 331 of file inference.py.
References PyFort.inference._TypeContext._guessBytes().
def PyFort.inference._TypeContext.__matchTypeModList | ( | self, | |
modListPair | |||
) | [private] |
Definition at line 345 of file inference.py.
def PyFort.inference._TypeContext.__modCompare | ( | self, | |
m1, | |||
m2, | |||
addLength | |||
) | [private] |
Definition at line 43 of file inference.py.
Referenced by PyFort.inference._TypeContext.__typeCompare().
def PyFort.inference._TypeContext.__selectionType | ( | self, | |
aSelectionExpression | |||
) | [private] |
Definition at line 434 of file inference.py.
References PyFort.inference._TypeContext._expressionType(), PP.transformActiveVariables.TransformError.lineNumber, PyFort.inference.InferenceError.lineNumber, PP.unitPostProcess.PostProcessError.lineNumber, PyFort.fortLine.fline.lineNumber, Canon.canon.CanonError.lineNumber, PyFort.fortLine.cline.lineNumber, PyFort.inference._TypeContext.lineNumber, PyFort.fortStmts._DimensionArraySpec.lineNumber, PyFort.fortStmts.GenStmt.lineNumber, PyFort.fortStmts.Comments.lineNumber, and PyFort.inference._TypeContext.localSymtab.
Referenced by PyFort.inference._TypeContext._expressionType().
def PyFort.inference._TypeContext.__typeCompare | ( | self, | |
t1, | |||
t2, | |||
addLength | |||
) | [private] |
Definition at line 97 of file inference.py.
References PyFort.inference._TypeContext.__modCompare().
Referenced by PyFort.inference._TypeContext.__typeCompare(), and PyFort.inference._TypeContext._typemerge().
def PyFort.inference._TypeContext.__typeCompare | ( | self, | |
t1, | |||
t2, | |||
addLength | |||
) | [private] |
Definition at line 115 of file inference.py.
References PyFort.inference._TypeContext.__typeCompare().
def PyFort.inference._TypeContext._appType | ( | self, | |
anApp | |||
) | [private] |
Definition at line 379 of file inference.py.
References PyFort.inference._TypeContext.__genericFunctionType(), PyFort.inference._TypeContext.__identifierType(), PyFort.inference._TypeContext.__intrinsicType(), PyFort.inference._TypeContext._appType(), PyFort.inference._TypeContext._expressionType(), PyFort::intrinsic.is_intrinsic(), PP.transformActiveVariables.TransformError.lineNumber, PyFort.inference.InferenceError.lineNumber, PP.unitPostProcess.PostProcessError.lineNumber, PyFort.fortLine.fline.lineNumber, Canon.canon.CanonError.lineNumber, PyFort.fortLine.cline.lineNumber, PyFort.inference._TypeContext.lineNumber, PyFort.fortStmts._DimensionArraySpec.lineNumber, PyFort.fortStmts.GenStmt.lineNumber, PyFort.fortStmts.Comments.lineNumber, and PyFort.inference._TypeContext.localSymtab.
Referenced by PyFort.inference._TypeContext._appType(), and PyFort.inference._TypeContext._expressionType().
def PyFort.inference._TypeContext._constantType | ( | self, | |
e | |||
) | [private] |
Definition at line 149 of file inference.py.
References PyFort.inference._TypeContext.__guessBytesFromKind(), PyFort.inference._TypeContext._guessBytes(), PyFort::inference._kw2type(), PyFort::inference._lenfn(), and PyFort.inference._TypeContext.localSymtab.
Referenced by PyFort.inference._TypeContext._expressionType().
def PyFort.inference._TypeContext._expressionType | ( | self, | |
anExpression | |||
) | [private] |
Definition at line 455 of file inference.py.
References PyFort.inference._TypeContext.__identifierType(), PyFort.inference._TypeContext.__selectionType(), PyFort.inference._TypeContext._appType(), PyFort.inference._TypeContext._constantType(), PyFort.inference._TypeContext._expressionType(), PyFort.inference._TypeContext._typemerge(), PP.transformActiveVariables.TransformError.lineNumber, PyFort.inference.InferenceError.lineNumber, PP.unitPostProcess.PostProcessError.lineNumber, PyFort.fortLine.fline.lineNumber, PyFort.fortLine.cline.lineNumber, Canon.canon.CanonError.lineNumber, PyFort.inference._TypeContext.lineNumber, PyFort.fortStmts._DimensionArraySpec.lineNumber, PyFort.fortStmts.GenStmt.lineNumber, and PyFort.fortStmts.Comments.lineNumber.
Referenced by PyFort.inference._TypeContext.__intrinsicType(), PyFort.inference._TypeContext.__selectionType(), PyFort.inference._TypeContext._appType(), and PyFort.inference._TypeContext._expressionType().
def PyFort.inference._TypeContext._guessBytes | ( | self, | |
aType | |||
) | [private] |
Definition at line 312 of file inference.py.
References PyFort.inference._TypeContext.__guessBytesFromKind(), PP.transformActiveVariables.TransformError.lineNumber, PyFort.inference.InferenceError.lineNumber, PP.unitPostProcess.PostProcessError.lineNumber, PyFort.fortLine.fline.lineNumber, Canon.canon.CanonError.lineNumber, PyFort.fortLine.cline.lineNumber, PyFort.inference._TypeContext.lineNumber, PyFort.fortStmts._DimensionArraySpec.lineNumber, PyFort.fortStmts.GenStmt.lineNumber, and PyFort.fortStmts.Comments.lineNumber.
Referenced by PyFort.inference._TypeContext.__matchTypeMod(), PyFort.inference._TypeContext._constantType(), and PyFort.inference._TypeContext.matchTypes().
def PyFort.inference._TypeContext._typemerge | ( | self, | |
lst, | |||
default, | |||
addLength = False |
|||
) | [private] |
Definition at line 139 of file inference.py.
References PyFort.inference._TypeContext.__typeCompare().
Referenced by PyFort.inference._TypeContext.__intrinsicType(), and PyFort.inference._TypeContext._expressionType().
def PyFort.inference._TypeContext.matchTypes | ( | self, | |
aTypePair | |||
) |
Definition at line 360 of file inference.py.
References PyFort.inference._TypeContext._guessBytes().
Definition at line 38 of file inference.py.
Referenced by PyFort.inference._TypeContext::__genericFunctionType(), PyFort.inference._TypeContext::__guessBytesFromKind(), PyFort.inference._TypeContext::__identifierType(), PyFort.inference._TypeContext::__selectionType(), PyUtil.typetab.TypetabError::__str__(), PyUtil.errors.ScanError::__str__(), PyUtil.symtab.SymtabError::__str__(), PyUtil.errors.ParseError::__str__(), PyUtil.errors.LogicError::__str__(), PyFort.inference._TypeContext::_appType(), PyFort.inference._TypeContext::_expressionType(), PyFort.inference._TypeContext::_guessBytes(), PyFort.fortStmts.NonComment::get_rawline(), and PyFort.fortStmts.NonComment::same().
Definition at line 38 of file inference.py.
Referenced by PyFort.inference._TypeContext.__genericFunctionType(), PyFort.inference._TypeContext.__identifierType(), PyFort.inference._TypeContext.__selectionType(), PyFort.inference._TypeContext._appType(), PyFort.inference._TypeContext._constantType(), PyUtil.typetab.TypetabEntry.NamedTypeEntryKind.debug(), and PyUtil.typetab.TypetabEntry.NamedTypePointerEntryKind.debug().