basic
Full name: ase2sprkkr.common.grammar_types.basic
Module class hierarchy

Description
Common GrammarTypes as numbers, strings etc.
Module Attributes
A standard grammar type instance for (signed) integers |
|
A standard grammar type instance for unsigned integers |
|
A standard grammar type instance for booleans in potential files |
|
A standard grammar type instance for booleans in input files |
|
A standard grammar type instance for reals |
|
A standard instance for the grammar type for dates |
|
A standard grammar type instance for strings |
|
A standard grammar type instance for quoted strings in input files |
|
A standard grammar type instance for one-line strings in potential files |
|
A standard grammar type instance for energy values (float) for potential files |
|
A standard grammar type instance for separators in potential files |
|
A standard grammar type instance for bool expressed as integer |
Functions
|
A value, that can take values from the predefined set of strings, the first one is the default value. |
Classes
|
A base type for all kind of boolean values. |
|
The base class for float value, which can have units append. |
|
Base type for string grammar types |
|
Basic type for separators - fake items in input/output file, which has no value |
|
Special class for a blank separator. |
|
A bool type, whose value is represented by a letter (T or F) |
|
A date value of the form 'DD.MM.YYYY' |
|
The grammar type for energy. |
|
|
|
A boolean value, which is True, if a name of the value appears in the input file. |
|
A bool type, whose value is represented by a letter (1 or 0) |
|
Signed integer |
|
A value, that can take values from the predefined set of strings. |
|
A string, that takes all up to the end of the line |
|
Base class for a number - descendants of this class can have minimal and/or maximal possible value. |
|
An abstract class, that describe an unsigned integer, that reffers to an object. |
|
Either a quoted string, or just a word (without whitespaces or special chars) |
|
A real value |
|
A float value with user-defined units |
|
Special class for a separator inside a section. |
|
Just a string (without whitespaces and few special chars) |
|
Unsigned integer (zero is possible) |