Defining the member functions
Toktype Token::type()
{
return t;
}
string Token::word()
{
assert(type() == WORD);
return s;
}
Previous slide
Next slide
Back to first slide
View graphic version