Octopus
parser.F90 File Reference

Go to the source code of this file.

Modules

module  parser_oct_m
 

Data Types

type  parser_oct_m::block_t
 
interface  parser_oct_m::parse_init
 
interface  parser_oct_m::parse_putsym
 
interface  parser_oct_m::parse_input_file
 
interface  parser_oct_m::parse_input_string
 
interface  parser_oct_m::parse_environment
 
interface  parser_oct_m::parse_end
 
interface  parser_oct_m::sym_output_table
 
interface  parser_oct_m::parse_isdef
 
interface  parser_oct_m::oct_parse_int
 
interface  parser_oct_m::oct_parse_double
 
interface  parser_oct_m::oct_parse_complex
 
interface  parser_oct_m::oct_parse_string
 
interface  parser_oct_m::oct_parse_block
 
interface  parser_oct_m::parse_variable
 
interface  parser_oct_m::parse_block_end
 
interface  parser_oct_m::parse_block_n
 
interface  parser_oct_m::parse_block_cols
 
interface  parser_oct_m::parse_block_integer
 
interface  parser_oct_m::parse_block_float
 
interface  parser_oct_m::parse_block_cmplx
 
interface  parser_oct_m::parse_block_string
 
interface  parser_oct_m::oct_parse_expression
 The public subroutine parse_expression accepts two possible interfaces, one which assumes that the variables in the expression are "x(:)", "r" and "t", and another one which permits to set one variable to whichever string. Examples of usage: More...
 
interface  parser_oct_m::parse_expression
 

Functions/Subroutines

subroutine, public parser_oct_m::parser_initialize_symbol_table (log_file)
 Initialise the Octopus parser symbol table from file of keys. More...
 
subroutine, public parser_oct_m::parser_init ()
 Initialise the Octopus parser. More...
 
subroutine, public parser_oct_m::parser_end ()
 End the Octopus parser. More...
 
logical function, public parser_oct_m::parse_is_defined (namespace, name)
 
subroutine parser_oct_m::parse_integer (namespace, name, def, res)
 
subroutine parser_oct_m::parse_integer8 (namespace, name, def, res)
 
subroutine parser_oct_m::parse_integer48 (namespace, name, def, res)
 
subroutine parser_oct_m::parse_integer84 (namespace, name, def, res)
 
subroutine parser_oct_m::parse_string (namespace, name, def, res)
 
subroutine parser_oct_m::parse_logical (namespace, name, def, res)
 
subroutine parser_oct_m::parse_cmplx (namespace, name, def, res)
 
integer function, public parser_oct_m::parse_block (namespace, name, blk, check_varinfo_)
 
subroutine, public parser_oct_m::parse_block_logical (blk, l, c, res)
 
subroutine parser_oct_m::oct_parse_double_unit (namespace, name, def, res, unit)
 
subroutine parser_oct_m::oct_parse_block_double_unit (blk, l, c, res, unit)
 
subroutine parser_oct_m::oct_parse_expression_vec (re, im, ndim, x, r, t, pot)
 
subroutine, public parser_oct_m::parse_array (inp_string, x, arraychar)
 A very primitive way to "preprocess" a string that contains reference to the elements of a two-dimensional array, substituting them with the values of the array x. This way the string can be processed by the parser later. More...
 
subroutine parser_oct_m::parse_check_varinfo (varname)
 
character(len=:) function, allocatable parser_oct_m::parse_get_full_name (namespace, varname)
 Given a namespace and a variable name, this function will iterate over all namespace ancestors contained in the namespace, until it finds one for which the variable is defined. If it finds such namespace it returns the variable name prefixed with the namespace. If it does not find any suitable namespace it returns the variable name without any prefix. More...
 
subroutine parser_oct_m::parse_fatal ()
 

Variables

character(len=27), parameter, public parser_oct_m::parser_varname_excluded_characters = '|!''"#$%&/\‍()=?{}+-*^.,;:<> '
 The following characters should not be allowed in variable names. More...