Scarlet Line home page Scarlet Line - SOFTWARE DESIGN & DEVELOPMENT

[Home]->[Documentation]->[Syntac Universal Parser]->[Other Grammars]->[Extensible Markup Language (XML)]->[Symbols]->[EncodingDecl]

Expand All
Collapse All
Contents

xml::EncodingDecl Locate in Contents

Declaration Locate in Contents

[80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | '"'" EncName "'" )
    { /* switch encoding on the stream here:*/
    $set_encoding(std::max($7,$11));
    }

Composition Locate in Contents

XMLDecl EncodingDecl Concatenation Node TextDecl S Concatenation Node Eq Alternation Node 'e' 'n' 'c' 'o' 'd' 'i' 'n' 'g' Concatenation Node Concatenation Node ' EncName<std::string> ' ''' EncName<std::string> '''

State Machine Locate in Contents

start:1652:$0 S|{1646|$1|1647} final:1653:$0 Eq|{1648|$3|1649} EncName<std::string>|{1654|$7|1655} EncName<std::string>|{1654|$11|1655}