grammar_types

Full name: ase2sprkkr.outputs.test.grammar_types

Description

Classes, that represents various value types that can appear in the configuration and problem definitionfiles.

Each grammar type can both parse string containing a value of a given type, and to create the string containing a given value.

Module Attributes

type_from_type_map

The standard grammar_types for python types.

type_from_set_map

Map the python type of a collection member to a grammar type of the collection.

recognized_set_types

The types, that are recognized as 'list of values' and so that will be accepted as values for array_like type (e.g. Array or SetOf).

Modules

arrays

Grammar types for array, sequences and tables

basic

Common GrammarTypes as numbers, strings etc.

data

This module contains special GrammarTypes used for large data in output files

grammar_type

Basic types for GrammarTypes and usefull functions

mixed

A variant value to be used in input files (in unknown - custom - options)

warnings