36#ifndef expressions_scanToken_H
37#define expressions_scanToken_H
A class for handling words, derived from Foam::string.
A low-level input/scan token content. No defined constructors/destructors. All memory management is m...
void setLabel(label val)
Assign type/value to be LABEL. Does not call destroy().
void setWord(const word &val)
Assign type/value to be WORD (name). Does not call destroy().
void setScalar(scalar val)
Assign type/value to be SCALAR. Does not call destroy().
tokenType
Tagged union types.
void destroy()
Manual deletion of pointer types.
static scanToken null()
Return a null token - in lieu of a default constructor.
tokenType type_
The token type.
void setVector(scalar x, scalar y, scalar z)
Assign type/value to be VECTOR. Does not call destroy().