taurus.core.util.property_parser

This is an experimental property parser

Classes

Functions

p_error(p)[source]
p_property_file(p)[source]

property_file : statement_list |

p_statement(p)[source]

statement_list : statement

p_statement_assign(p)[source]

statement : KEY EQUALS value

p_statement_list(p)[source]

statement_list : statement_list statement

p_value(p)[source]

value : atomic | list

p_value_atomic(p)[source]

atomic : KEY | STRING | NUMBER | boolean

p_value_boolean(p)[source]

boolean : true | false | yes | no

p_value_list(p)[source]

list : LLST value_list RLST

p_value_list_elems1(p)[source]

value_list : value_list COMMA value

p_value_list_elems2(p)[source]

value_list : value

t_KEY(t)[source]

[a-zA-Z0-9/_./]+

t_NUMBER(t)[source]

[-+]?[0-9]*.?[0-9]+([eE][-+]?[0-9]+)?

t_STRING(t)[source]

“([^"]|(.))*”

t_error(t)[source]
t_newline(t)[source]

n+