FortranCodeTools

fortout.spad line 1 [edit on github]

undocumented

changeExprLength : Integer -> Void

changeExprLength(i) changes limit on expression length by i.

checkType : String -> String

checkType(t)

clear_used_intrinsics : () -> Void

clear_used_intrinsics() clear list of used intrinsics

dispStatement : OutputForm -> Void

dispStatement(of)

displayLines : List(String) -> Void

displayLines(l)

do_with_error_env1 : Mapping(List(String)) -> List(String)

do_with_error_env1(f)

do_with_error_env2 : (Boolean, Mapping(List(String))) -> List(String)

do_with_error_env2(int_to_floats?, f)

do_with_error_env3 : (Boolean, Mapping(List(String))) -> List(String)

do_with_error_env3(int_to_floats?, f)

expression2Fortran : OutputForm -> List(String)

expression2Fortran(of)

expression2Fortran1 : (Mapping(Symbol), OutputForm, Boolean) -> List(String)

expression2Fortran1(nf, of, int_to_floats?)

fortFormatHead : (Symbol, Union(:(fst, FortranScalarType), :(void, "void")), List(Symbol)) -> Void

fortFormatHead(name, returnType, args)

fortFormatTypeLines : (String, List(String)) -> Void

fortFormatTypeLines(typeName, l)

fort_clean_lines : List(String) -> List(String)

fort_format_types : (String, List(OutputForm)) -> Void

fort_format_types(typeName, names)

getStatement : (OutputForm, Boolean) -> List(String)

getStatement(of, int_to_floats?)

get_fort_indent : () -> Integer

get_fort_indent() gets current amount of Frotran indentation

get_used_intrinsics : () -> List(String)

get_used_intrinsics() gets list of used intrinsics

indentFortLevel : Integer -> Void

indentFortLevel(i)

newFortranTempVar : () -> Symbol

newFortranTempVar() creates new name for temporary variable and puts it in TheSymbolTable

statement2Fortran : OutputForm -> List(String)

statement2Fortran(of)