loki.frontend.ofp
Module Attributes
Indicate whether OpenFortranParser frontend is available.  | 
Functions
  | 
Return a list of tuples with all AST nodes (xml objects) that match a tag pattern in the list of :param patterns:.  | 
  | 
Generate an internal IR from the raw OFP parser AST.  | 
  | 
Read and parse a source file using the Open Fortran Parser (OFP).  | 
  | 
Read and parse a source string using the Open Fortran Parser (OFP).  | 
Classes
  | 
- HAVE_OFP = False
 Indicate whether OpenFortranParser frontend is available.
- parse_ofp_file(filename)
 Read and parse a source file using the Open Fortran Parser (OFP).
Note: The parsing is cached on disk in
<filename>.cache.
- parse_ofp_source(source, filepath=None)
 Read and parse a source string using the Open Fortran Parser (OFP).
- parse_ofp_ast(ast, pp_info=None, raw_source=None, definitions=None, scope=None)
 Generate an internal IR from the raw OFP parser AST.