libSBML C API  5.18.0
FormulaTokenizer.h File Reference

Tokenizes an SBML formula string. More...

Include dependency graph for FormulaTokenizer.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  FormulaTokenizer_t
 Tokenizes a mathematical formula string in SBML Level 1 syntax. More...
 
struct  Token_t
  Structure used to store a token returned by FormulaTokenizer_nextToken(). More...
 
union  Token_t.value
 

Enumerations

enum  TokenType_t {
  TT_PLUS = '+',
  TT_MINUS = '-',
  TT_TIMES = '*',
  TT_DIVIDE = '/',
  TT_POWER = '^',
  TT_LPAREN = '(',
  TT_RPAREN = ')',
  TT_COMMA = ',',
  TT_END = '\0',
  TT_NAME = 256,
  TT_INTEGER,
  TT_REAL,
  TT_REAL_E,
  TT_UNKNOWN
}
 Enumeration of possible token types. More...
 

Detailed Description

Tokenizes an SBML formula string.

Author
Ben Bornstein

Enumeration Type Documentation

Enumeration of possible token types.

"TT" is short for "TokenType".

See also
Token_t
Enumerator
TT_PLUS 

The '+' token

TT_MINUS 

The '-' token

TT_TIMES 

The '*' token

TT_DIVIDE 

The '/' token

TT_POWER 

The '^' token

TT_LPAREN 

The '(' token

TT_RPAREN 

The ')' token

TT_COMMA 

The ',' token

TT_END 

The end-of-input token

TT_NAME 

The token for a name

TT_INTEGER 

The token for an integer

TT_REAL 

The token for a real number (number with a decimal point)

TT_REAL_E 

The token for a real number using e-notation

TT_UNKNOWN 

An unknown token