Search Toolkit Book for ASNParser
#include "parser.hpp"
(Private to src/serial/datatool
.)
Definition at line 57 of file parser.hpp.
◆ ASNParser() ASNParser::ASNParser ( ASNLexer & lexer ) ◆ BeginComponentsDefinition() void ASNParser::BeginComponentsDefinition ( void )Definition at line 425 of file parser.cpp.
References AbstractParser::Consume(), map_checker< Container >::end(), map_checker< Container >::find(), AbstractLexer::FlushCommentsTo(), AbstractLexer::GetName(), AbstractToken::GetText(), AbstractToken::GetToken(), in(), K_COMPONENTS, K_OF, K_SEQUENCE, AbstractParser::Lexer(), m_MapDefinitions, m_StackLexer, AbstractParser::Next(), AbstractParser::NextToken(), AbstractParser::ParseError(), AbstractParser::SetLexer(), T_DEFINE, T_EOF, T_SYMBOL, T_TYPE_REFERENCE, and TypeReference().
Referenced by NamedDataType().
◆ Double() double ASNParser::Double ( TToken token ) ◆ EndComponentsDefinition() void ASNParser::EndComponentsDefinition ( void ) ◆ EnumeratedBlock() ◆ EnumeratedValue() ◆ Exports() ◆ HaveMoreElements() bool ASNParser::HaveMoreElements ( void )Definition at line 347 of file parser.cpp.
References AbstractParser::Consume(), EndComponentsDefinition(), AbstractToken::GetSymbol(), AbstractToken::GetToken(), AbstractParser::Next(), AbstractParser::NextToken(), AbstractParser::ParseError(), SkipTo(), T_EOF, and T_SYMBOL.
Referenced by EnumeratedBlock(), and TypesBlock().
◆ Identifier() ◆ Imports() ◆ L() [1/2] ◆ L() [2/2] ◆ Module()Definition at line 86 of file parser.cpp.
References AbstractParser::Consume(), AbstractParser::CopyComments(), CAsnBinaryDefs::eAutomatic, CAsnBinaryDefs::eExplicit, CAsnBinaryDefs::eImplicit, AbstractToken::GetText(), AbstractToken::GetToken(), K_AUTOMATIC, K_BEGIN, K_DEFINITIONS, K_END, K_EXPLICIT, K_IMPLICIT, AbstractParser::Lexer(), m_TagDefault, ModuleBody(), ModuleReference(), AbstractParser::Next(), AbstractParser::NextToken(), AbstractParser::ParseError(), and T_EOF.
Referenced by Modules().
◆ ModuleBody()Definition at line 152 of file parser.cpp.
References CDataTypeModule::Comments(), AbstractParser::Consume(), AbstractParser::CopyComments(), ERR_POST_X, Exports(), AbstractParser::GetLocation(), Imports(), K_END, K_EXPORTS, K_IMPORTS, ModuleType(), NCBI_RETHROW_SAME, AbstractParser::Next(), T_DEFINE, T_IDENTIFIER, T_TYPE_REFERENCE, TypeReference(), and CException::what().
Referenced by Module().
◆ ModuleReference() ◆ Modules() ◆ ModuleType() ◆ NamedDataType()Definition at line 502 of file parser.cpp.
References BeginComponentsDefinition(), AbstractParser::Consume(), AbstractParser::CopyComments(), Identifier(), K_COMPONENTS, K_DEFAULT, K_OF, K_OPTIONAL, AbstractParser::Next(), T_IDENTIFIER, type, Type(), and Value().
Referenced by TypesBlock().
◆ Number() Int4 ASNParser::Number ( void ) ◆ SkipTo() void ASNParser::SkipTo ( char ch ) ◆ String() ◆ Type() ◆ TypeList() void ASNParser::TypeList ( list< string > & ids ) ◆ TypeReference()Definition at line 675 of file parser.cpp.
References AbstractParser::ConsumeAndValue(), AbstractParser::Lexer(), AbstractLexer::LexerError(), NcbiEmptyString, AbstractParser::Next(), AbstractParser::ParseError(), T_IDENTIFIER, and T_TYPE_REFERENCE.
Referenced by BeginComponentsDefinition(), ModuleBody(), TypeList(), and x_Type().
◆ TypesBlock()Definition at line 385 of file parser.cpp.
References CDataMember::Comments(), AbstractParser::ConsumeSymbol(), AbstractParser::CopyComments(), AbstractParser::CopyLineComment(), AbstractLexer::CurrentLine(), AbstractParser::eCombineNext, CDataMemberContainerType::GetMembers(), CDataType::GetSourceLine(), CDataMember::GetType(), CEnumDataType::GetValues(), HaveMoreElements(), AbstractParser::Lexer(), NamedDataType(), AbstractParser::NextTokenLine(), AutoPtr< X, Del >::release(), and val.
Referenced by x_Type().
◆ Value() ◆ x_Type()Definition at line 219 of file parser.cpp.
References AbstractParser::CheckSymbol(), CDataType::Comments(), AbstractParser::Consume(), AbstractParser::ConsumeIf(), CAsnBinaryDefs::eApplication, CAsnBinaryDefs::eContextSpecific, CAsnBinaryDefs::eExplicit, CAsnBinaryDefs::eImplicit, EnumeratedBlock(), CAsnBinaryDefs::ePrivate, CStringDataType::eStringTypeUTF8, CStringDataType::eStringTypeVisible, AbstractToken::GetToken(), K_APPLICATION, K_BIGINT, K_BIT, K_BOOLEAN, K_CHOICE, K_ENUMERATED, K_EXPLICIT, K_IMPLICIT, K_INTEGER, K_NULL, K_OCTET, K_OF, K_PRIVATE, K_REAL, K_SEQUENCE, K_SET, K_STRING, K_StringStore, K_UTF8String, K_VisibleString, m_TagDefault, AbstractParser::Next(), AbstractParser::NextToken(), AbstractParser::ParseError(), CDataType::SetTag(), CDataType::SetTagClass(), CDataType::SetTagType(), NStr::StringToInt(), T_EOF, T_IDENTIFIER, T_NUMBER, T_TAG_BEGIN, T_TAG_END, T_TYPE_REFERENCE, tag, Type(), TypeReference(), and TypesBlock().
Referenced by Type().
◆ x_Value()Definition at line 584 of file parser.cpp.
References b, AbstractParser::CheckSymbol(), AbstractParser::CheckSymbols(), NStr::Compare(), AbstractParser::Consume(), AbstractParser::ConsumeAndValue(), AbstractParser::ConsumeIfSymbol(), AbstractParser::ConsumeSymbol(), Double(), Identifier(), K_FALSE, K_NULL, K_TRUE, AbstractParser::Next(), AbstractParser::NextToken(), Number(), AbstractParser::ParseError(), String(), T_BINARY_STRING, T_DOUBLE, T_HEXADECIMAL_STRING, T_IDENTIFIER, T_NUMBER, T_STRING, T_SYMBOL, and Value().
Referenced by Value().
◆ m_MapDefinitions ◆ m_StackLexer ◆ m_TagDefaultThe 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