tokeniser Class Reference

Public Member Functions

 tokeniser (Istream &)
 Construct for an input stream. More...
 
Istreamstream ()
 Access the stream. More...
 
bool hasToken () const
 ... More...
 
token nextToken ()
 ... More...
 
void putBack (const token &)
 ... More...
 
void splitWord (const word &)
 ... More...
 

Static Public Member Functions

static bool valid (char c)
 ... More...
 
static label priority (const token &t)
 ... More...
 

Detailed Description

Definition at line 50 of file symbols.H.

Constructor & Destructor Documentation

◆ tokeniser()

tokeniser ( Istream is)

Construct for an input stream.

Definition at line 65 of file symbols.C.

Member Function Documentation

◆ stream()

Foam::Istream & stream ( )

Access the stream.

Definition at line 76 of file symbols.C.

◆ hasToken()

bool hasToken ( ) const

...

Definition at line 82 of file symbols.C.

◆ nextToken()

Foam::token nextToken ( )

...

Definition at line 88 of file symbols.C.

References token::isWord(), and token::wordToken().

Here is the call graph for this function:

◆ putBack()

void putBack ( const token t)

...

Definition at line 110 of file symbols.C.

◆ splitWord()

void splitWord ( const word w)

...

Definition at line 123 of file symbols.C.

References Foam::readScalar(), token::SPACE, token::SUBTRACT, and Foam::blendedInterfacialModel::valid().

Here is the call graph for this function:

◆ valid()

bool valid ( char  c)
static

...

Definition at line 171 of file symbols.C.

References Foam::constant::universal::c, and Foam::isspace().

Here is the call graph for this function:

◆ priority()

Foam::label priority ( const token t)
static

...

Definition at line 192 of file symbols.C.

References token::DIVIDE, token::isPunctuation(), token::MULTIPLY, and token::pToken().

Here is the call graph for this function:

The documentation for this class was generated from the following files: