Scarlet Line home page Scarlet Line - SOFTWARE DESIGN & DEVELOPMENT

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

Expand All
Collapse All
Contents

ebnf::hex_char Locate in Contents

Declaration Locate in Contents

hex_char[unsigned char & _value] ::=
        xdigit xdigit?
            {
            if (!$2.empty())
                _value = syntac::atoh($1[0], $2[0]);
            else
                _value = syntac::atoh(0, $1[0]);
            }

Composition Locate in Contents

hex_value hex_char Concatenation Node xdigit<std::string> Alternation Node xdigit @

State Machine Locate in Contents

start:973:$0 xdigit<std::string>|{875|$1|876} final:974:$0 xdigit|{975|$3|976}