Scarlet Line home page Scarlet Line - SOFTWARE DESIGN & DEVELOPMENT

[Home]->[Documentation]->[Syntac Universal Parser]->[Other Grammars]->[Extended Backus-Naur form (EBNF)]->[Symbols]->[labeldef]

Expand All
Collapse All
Contents

ebnf::labeldef Locate in Contents

Declaration Locate in Contents

labeldef[parser_type & tree, const std::string & __typedefinition] ::= { std::string _name;/* }*/
        label[_name]
            {
            vertex_token return_value = tree.get_symbol_id(_name.c_str(), $line);
            tree.set_type(return_value, __typedefinition);
            }

Composition Locate in Contents

body_declaration labeldef label

State Machine Locate in Contents

start:1017:$0 label|{818|$0|819} final:1018:$0