Poco::CppParser

class CppToken

File Information

Library: CppParser
Package: CppParser
Header: Poco/CppParser/CppToken.h

Description

The base class for all C++ tokens.

Inheritance

Direct Base Classes: Poco::Token

All Base Classes: Poco::Token

Known Derived Classes: OperatorToken, IdentifierToken, StringLiteralToken, CharLiteralToken, NumberLiteralToken, CommentToken, PreprocessorToken

Member Summary

Member Functions: syntaxError

Inherited Functions: asChar, asFloat, asInteger, asInteger64, asString, asUnsignedInteger, asUnsignedInteger64, finish, is, start, tokenClass, tokenString

Constructors

CppToken

CppToken();

Destructor

~CppToken virtual

~CppToken();

Member Functions

syntaxError protected

void syntaxError(
    const std::string & expected,
    const std::string & actual
);