OpenStructure
Public Member Functions
PythonTokenizer Class Reference

#include <python_tokenizer.hh>

Public Member Functions

 PythonTokenizer ()
 
 PythonTokenizer (const QString &command, int string_state=0)
 
void SetCommand (const QString &command)
 
PythonToken NextToken ()
 
const PythonTokenCurrentToken () const
 
void SetInString (bool in_string)
 
bool InString () const
 
const QString & GetDelim () const
 

Detailed Description

Definition at line 81 of file python_tokenizer.hh.

Constructor & Destructor Documentation

◆ PythonTokenizer() [1/2]

◆ PythonTokenizer() [2/2]

PythonTokenizer ( const QString &  command,
int  string_state = 0 
)

Member Function Documentation

◆ CurrentToken()

const PythonToken& CurrentToken ( ) const

◆ GetDelim()

const QString& GetDelim ( ) const
inline

Definition at line 91 of file python_tokenizer.hh.

◆ InString()

bool InString ( ) const
inline

Definition at line 90 of file python_tokenizer.hh.

◆ NextToken()

PythonToken NextToken ( )

◆ SetCommand()

void SetCommand ( const QString &  command)

◆ SetInString()

void SetInString ( bool  in_string)

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