1#ifndef OPALX_TokenStream_HH
2#define OPALX_TokenStream_HH
46 const std::string&
getName()
const;
Abstract interface for a stream of input tokens.
TokenStream(const TokenStream &)
int getLine() const
Return line number.
const std::string & getName() const
Return stream name.
void putBack(const Token &token)
Put token back to stream.
virtual Token readToken()=0
Read single token from stream.
void operator=(const TokenStream &)
Representation of a single input token.