Poco::CppParser

class NumberLiteralToken

File Information

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

Inheritance

Direct Base Classes: CppToken

All Base Classes: CppToken, Poco::Token

Member Summary

Member Functions: asFloat, asInteger, finish, finishBin, finishExp, finishHex, finishSuffix, start, tokenClass

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

Constructors

NumberLiteralToken

NumberLiteralToken();

Destructor

~NumberLiteralToken virtual

~NumberLiteralToken();

Member Functions

asFloat virtual

double asFloat() const;

asInteger virtual

int asInteger() const;

finish virtual

void finish(
    std::istream & istr
);

start virtual

bool start(
    char c,
    std::istream & istr
);

tokenClass

Poco::Token::Class tokenClass() const;

finishBin protected

void finishBin(
    std::istream & istr,
    int next
);

finishExp protected

void finishExp(
    std::istream & istr,
    int next
);

finishHex protected

void finishHex(
    std::istream & istr,
    int next
);

finishSuffix protected

void finishSuffix(
    std::istream & istr,
    int next
);