Search Toolkit Book for AbstractParser
#include "aparser.hpp"
(Private to src/serial/datatool
.)
Definition at line 45 of file aparser.hpp.
◆ anonymous enum Enumerator eNoFetchNext eCombineNextDefinition at line 169 of file aparser.hpp.
◆ AbstractParser() ◆ ~AbstractParser() AbstractParser::~AbstractParser ( void ) virtualDefinition at line 45 of file aparser.cpp.
◆ Check() ◆ CheckSymbol() bool AbstractParser::CheckSymbol ( char symbol ) inline ◆ CheckSymbols() char AbstractParser::CheckSymbols ( char symbol1, char symbol2 ) inline ◆ Consume() [1/2] void AbstractParser::Consume ( TToken token, const char * expected ) inline ◆ Consume() [2/2] void AbstractParser::Consume ( void ) inlineDefinition at line 93 of file aparser.hpp.
References AbstractLexer::Consume(), and Lexer().
Referenced by ASNParser::BeginComponentsDefinition(), Consume(), ConsumeIf(), ConsumeIfSymbol(), ConsumeSymbol(), DTDParser::ConsumeToken(), DTDParser::GetNextToken(), JSDParser::GetNextToken(), ASNParser::HaveMoreElements(), ASNParser::Imports(), ASNParser::Module(), ASNParser::ModuleBody(), ASNParser::NamedDataType(), DTDParser::SkipConditionalSection(), ASNParser::SkipTo(), ASNParser::String(), ASNParser::x_Type(), and ASNParser::x_Value().
◆ ConsumeAndValue() ◆ ConsumeIf() ◆ ConsumeIfSymbol() bool AbstractParser::ConsumeIfSymbol ( char symbol ) inline ◆ ConsumeSymbol() void AbstractParser::ConsumeSymbol ( char symbol ) inline ◆ CopyComments() void AbstractParser::CopyComments ( CComments & comments ) inlineDefinition at line 165 of file aparser.hpp.
References AbstractLexer::FlushCommentsTo(), and Lexer().
Referenced by WSDLParser::BuildDocumentTree(), XSDParser::BuildDocumentTree(), DTDParser::EndCommentBlock(), ASNParser::EnumeratedValue(), DTDParser::Module(), ASNParser::Module(), ASNParser::ModuleBody(), ASNParser::Modules(), ASNParser::NamedDataType(), and ASNParser::TypesBlock().
◆ CopyLineComment() void AbstractParser::CopyLineComment ( int line, CComments & comments, int flags =0
)
Definition at line 64 of file aparser.cpp.
References _TRACE, CComments::Add(), eCombineNext, eNoFetchNext, AbstractLexer::FillComments(), flags, AbstractLexer::CComment::GetLine(), AbstractLexer::CComment::GetValue(), Lexer(), AbstractLexer::NextComment(), and AbstractLexer::SkipNextComment().
Referenced by ASNParser::EnumeratedBlock(), ASNParser::ModuleType(), and ASNParser::TypesBlock().
◆ EndCommentBlock() virtual void AbstractParser::EndCommentBlock ( void ) inlinevirtual ◆ Expect() void AbstractParser::Expect ( TToken token, const char * expected ) inline ◆ ExpectSymbol() void AbstractParser::ExpectSymbol ( char symbol ) inline ◆ GetLocation() string AbstractParser::GetLocation ( void ) virtual ◆ LastTokenLine() int AbstractParser::LastTokenLine ( void ) const inline ◆ Lexer() [1/2]Definition at line 67 of file aparser.hpp.
References m_Lexer.
Referenced by ASNParser::BeginComponentsDefinition(), CheckSymbol(), Consume(), ConsumeAndValue(), DTDParser::ConsumeAttributeContent(), CopyComments(), CopyLineComment(), XSDParser::CreateTypeDefinition(), DTDParser::EndCommentBlock(), GetLocation(), DTDParser::GetNextToken(), ASNParser::Identifier(), ASNParser::L(), LastTokenLine(), DTDParser::Module(), ASNParser::Module(), ASNParser::ModuleReference(), DTDParser::Modules(), WSDLParser::ParseAddress(), XSDParser::ParseAttribute(), XSDParser::ParseAttributeGroup(), XSDParser::ParseContent(), XSDParser::ParseDocumentation(), DTDParser::ParseElementContent(), XSDParser::ParseElementContent(), DTDParser::ParseEnumeratedList(), XSDParser::ParseEnumeration(), XSDParser::ParseGroup(), WSDLParser::ParseHeader(), WSDLParser::ParseInput(), WSDLParser::ParseMessage(), JSDParser::ParseNode(), WSDLParser::ParseOperation(), WSDLParser::ParseOutput(), WSDLParser::ParsePort(), WSDLParser::ParseService(), XSDParser::ParseTypeDefinition(), WSDLParser::ParseTypes(), DTDParser::PushEntityLexer(), XSDParser::SkipContent(), ASNParser::TypeReference(), and ASNParser::TypesBlock().
◆ Lexer() [2/2] ◆ Next() TToken AbstractParser::Next ( void ) const inlineDefinition at line 80 of file aparser.hpp.
References AbstractToken::GetToken(), and NextToken().
Referenced by ASNParser::BeginComponentsDefinition(), Check(), CheckSymbols(), DTDParser::GetNextToken(), JSDParser::GetNextToken(), ASNParser::HaveMoreElements(), ASNParser::Identifier(), ASNParser::Module(), ASNParser::ModuleBody(), ASNParser::ModuleReference(), ASNParser::Modules(), ASNParser::NamedDataType(), DTDParser::SkipConditionalSection(), ASNParser::SkipTo(), ASNParser::TypeReference(), ASNParser::x_Type(), and ASNParser::x_Value().
◆ NextToken()Definition at line 76 of file aparser.hpp.
References m_Lexer, and AbstractLexer::NextToken().
Referenced by ASNParser::BeginComponentsDefinition(), DTDParser::BeginEntityContent(), DTDParser::BuildDocumentTree(), CheckSymbols(), DTDParser::ConsumeAttributeContent(), DTDParser::ConsumeElementContent(), DTDParser::EndElementContent(), DTDParser::GetNextToken(), JSDParser::GetNextToken(), XSDParser::GetNextToken(), DTDParser::GetNextTokenText(), ASNParser::HaveMoreElements(), ASNParser::Module(), Next(), NextTokenLine(), DTDParser::ParseEnumeratedList(), ParseError(), ASNParser::SkipTo(), ASNParser::x_Type(), and ASNParser::x_Value().
◆ NextTokenLine() int AbstractParser::NextTokenLine ( void ) const inline ◆ ParseError() [1/3] void AbstractParser::ParseError ( const char * error, const char * expected ) inline ◆ ParseError() [2/3]Definition at line 54 of file aparser.cpp.
References expected, GetLocation(), AbstractToken::GetText(), and NCBI_THROW.
Referenced by DTDParser::AddElementContent(), ASNParser::BeginComponentsDefinition(), DTDParser::BeginEntityContent(), DTDParser::BuildDocumentTree(), WSDLParser::BuildDocumentTree(), XSDParser::BuildDocumentTree(), DTDParser::ConsumeAttributeContent(), DTDParser::ConsumeElementContent(), XSDParser::CreateEntityId(), XSDParser::CreateTypeDefinition(), DTDParser::EndElementContent(), Expect(), ExpectSymbol(), DTDParser::GenerateDataTree(), XSDParser::GetNextToken(), ASNParser::HaveMoreElements(), ASNParser::Identifier(), ASNParser::Module(), ASNParser::ModuleReference(), WSDLParser::ParseAddress(), XSDParser::ParseAnnotation(), XSDParser::ParseAny(), XSDParser::ParseAttributeGroupRef(), WSDLParser::ParseBinding(), XSDParser::ParseContent(), JSDParser::ParseDependencies(), XSDParser::ParseDocumentation(), DTDParser::ParseElementContent(), XSDParser::ParseElementContent(), DTDParser::ParseEntityContent(), DTDParser::ParseEnumeratedList(), JSDParser::ParseEnumeration(), XSDParser::ParseEnumeration(), ParseError(), XSDParser::ParseGroupRef(), WSDLParser::ParseHeader(), XSDParser::ParseHeader(), XSDParser::ParseInclude(), WSDLParser::ParseMessage(), JSDParser::ParseNode(), WSDLParser::ParseOperation(), WSDLParser::ParsePart(), WSDLParser::ParsePort(), WSDLParser::ParseService(), WSDLParser::ParseTypes(), XSDParser::ProcessNamedTypes(), DTDParser::PushEntityLexer(), JSDParser::SkipUnknown(), ASNParser::TypeReference(), DTDParser::x_AttribType(), DTDParser::x_AttribValue(), DTDParser::x_Type(), ASNParser::x_Type(), ASNParser::x_Value(), and DTDParser::x_Value().
◆ ParseError() [3/3] void AbstractParser::ParseError ( const char * expected ) inline ◆ SetLexer() ◆ ValueOf() ◆ m_LexerThe documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4