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 &, const label)
 ... 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.

Referenced by Foam::units::table().

Here is the caller graph for this function:

◆ 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(), token::lineNumber(), and token::wordToken().

Referenced by Foam::units::table().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ putBack()

void putBack ( const token t)

...

Definition at line 111 of file symbols.C.

Referenced by Foam::units::table().

Here is the caller graph for this function:

◆ splitWord()

void splitWord ( const word w,
const label  lineNumber 
)

...

Definition at line 124 of file symbols.C.

References Foam::readScalar(), s(), 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 174 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 196 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: