File src/srcml/cxx/SrcmlCxxLanguage.cpp changed (mode: 100644) (index b018c0f..6fe4915) |
... |
... |
SrcmlCxxLanguage::SrcmlCxxLanguage() |
86 |
86 |
map["assert"] = +SrcmlCxxSType::Assert; |
map["assert"] = +SrcmlCxxSType::Assert; |
87 |
87 |
map["attribute"] = +SrcmlCxxSType::Attribute; |
map["attribute"] = +SrcmlCxxSType::Attribute; |
88 |
88 |
map["block"] = +SrcmlCxxSType::Block; |
map["block"] = +SrcmlCxxSType::Block; |
|
89 |
|
map["block_content"] = +SrcmlCxxSType::BlockContent; |
89 |
90 |
map["break"] = +SrcmlCxxSType::Break; |
map["break"] = +SrcmlCxxSType::Break; |
90 |
91 |
map["call"] = +SrcmlCxxSType::Call; |
map["call"] = +SrcmlCxxSType::Call; |
91 |
92 |
map["capture"] = +SrcmlCxxSType::Capture; |
map["capture"] = +SrcmlCxxSType::Capture; |
|
... |
... |
SrcmlCxxLanguage::SrcmlCxxLanguage() |
118 |
119 |
map["function_decl"] = +SrcmlCxxSType::FunctionDecl; |
map["function_decl"] = +SrcmlCxxSType::FunctionDecl; |
119 |
120 |
map["goto"] = +SrcmlCxxSType::Goto; |
map["goto"] = +SrcmlCxxSType::Goto; |
120 |
121 |
map["if"] = +SrcmlCxxSType::If; |
map["if"] = +SrcmlCxxSType::If; |
|
122 |
|
map["if_stmt"] = +SrcmlCxxSType::IfStmt; |
121 |
123 |
map["index"] = +SrcmlCxxSType::Index; |
map["index"] = +SrcmlCxxSType::Index; |
122 |
124 |
map["init"] = +SrcmlCxxSType::Init; |
map["init"] = +SrcmlCxxSType::Init; |
123 |
125 |
map["label"] = +SrcmlCxxSType::Label; |
map["label"] = +SrcmlCxxSType::Label; |
|
... |
... |
SrcmlCxxLanguage::SrcmlCxxLanguage() |
143 |
145 |
map["struct"] = +SrcmlCxxSType::Struct; |
map["struct"] = +SrcmlCxxSType::Struct; |
144 |
146 |
map["struct_decl"] = +SrcmlCxxSType::StructDecl; |
map["struct_decl"] = +SrcmlCxxSType::StructDecl; |
145 |
147 |
map["super"] = +SrcmlCxxSType::Super; |
map["super"] = +SrcmlCxxSType::Super; |
|
148 |
|
map["super_list"] = +SrcmlCxxSType::SuperList; |
146 |
149 |
map["switch"] = +SrcmlCxxSType::Switch; |
map["switch"] = +SrcmlCxxSType::Switch; |
147 |
150 |
map["template"] = +SrcmlCxxSType::Template; |
map["template"] = +SrcmlCxxSType::Template; |
148 |
151 |
map["ternary"] = +SrcmlCxxSType::Ternary; |
map["ternary"] = +SrcmlCxxSType::Ternary; |
|
... |
... |
SrcmlCxxLanguage::toString(SType stype) const |
635 |
638 |
case SrcmlCxxSType::Assert: return "SrcmlCxxSType::Assert"; |
case SrcmlCxxSType::Assert: return "SrcmlCxxSType::Assert"; |
636 |
639 |
case SrcmlCxxSType::Attribute: return "SrcmlCxxSType::Attribute"; |
case SrcmlCxxSType::Attribute: return "SrcmlCxxSType::Attribute"; |
637 |
640 |
case SrcmlCxxSType::Block: return "SrcmlCxxSType::Block"; |
case SrcmlCxxSType::Block: return "SrcmlCxxSType::Block"; |
|
641 |
|
case SrcmlCxxSType::BlockContent: return "SrcmlCxxSType::BlockContent"; |
638 |
642 |
case SrcmlCxxSType::Break: return "SrcmlCxxSType::Break"; |
case SrcmlCxxSType::Break: return "SrcmlCxxSType::Break"; |
639 |
643 |
case SrcmlCxxSType::Call: return "SrcmlCxxSType::Call"; |
case SrcmlCxxSType::Call: return "SrcmlCxxSType::Call"; |
640 |
644 |
case SrcmlCxxSType::Capture: return "SrcmlCxxSType::Capture"; |
case SrcmlCxxSType::Capture: return "SrcmlCxxSType::Capture"; |
|
... |
... |
SrcmlCxxLanguage::toString(SType stype) const |
667 |
671 |
case SrcmlCxxSType::FunctionDecl: return "SrcmlCxxSType::FunctionDecl"; |
case SrcmlCxxSType::FunctionDecl: return "SrcmlCxxSType::FunctionDecl"; |
668 |
672 |
case SrcmlCxxSType::Goto: return "SrcmlCxxSType::Goto"; |
case SrcmlCxxSType::Goto: return "SrcmlCxxSType::Goto"; |
669 |
673 |
case SrcmlCxxSType::If: return "SrcmlCxxSType::If"; |
case SrcmlCxxSType::If: return "SrcmlCxxSType::If"; |
|
674 |
|
case SrcmlCxxSType::IfStmt: return "SrcmlCxxSType::IfStmt"; |
670 |
675 |
case SrcmlCxxSType::Index: return "SrcmlCxxSType::Index"; |
case SrcmlCxxSType::Index: return "SrcmlCxxSType::Index"; |
671 |
676 |
case SrcmlCxxSType::Init: return "SrcmlCxxSType::Init"; |
case SrcmlCxxSType::Init: return "SrcmlCxxSType::Init"; |
672 |
677 |
case SrcmlCxxSType::Label: return "SrcmlCxxSType::Label"; |
case SrcmlCxxSType::Label: return "SrcmlCxxSType::Label"; |
|
... |
... |
SrcmlCxxLanguage::toString(SType stype) const |
692 |
697 |
case SrcmlCxxSType::Struct: return "SrcmlCxxSType::Struct"; |
case SrcmlCxxSType::Struct: return "SrcmlCxxSType::Struct"; |
693 |
698 |
case SrcmlCxxSType::StructDecl: return "SrcmlCxxSType::StructDecl"; |
case SrcmlCxxSType::StructDecl: return "SrcmlCxxSType::StructDecl"; |
694 |
699 |
case SrcmlCxxSType::Super: return "SrcmlCxxSType::Super"; |
case SrcmlCxxSType::Super: return "SrcmlCxxSType::Super"; |
|
700 |
|
case SrcmlCxxSType::SuperList: return "SrcmlCxxSType::SuperList"; |
695 |
701 |
case SrcmlCxxSType::Switch: return "SrcmlCxxSType::Switch"; |
case SrcmlCxxSType::Switch: return "SrcmlCxxSType::Switch"; |
696 |
702 |
case SrcmlCxxSType::Template: return "SrcmlCxxSType::Template"; |
case SrcmlCxxSType::Template: return "SrcmlCxxSType::Template"; |
697 |
703 |
case SrcmlCxxSType::Ternary: return "SrcmlCxxSType::Ternary"; |
case SrcmlCxxSType::Ternary: return "SrcmlCxxSType::Ternary"; |