OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions
PythonToken Class Reference

#include <python_tokenizer.hh>

Public Types

enum  Type {
  KEYWORD, STRING_LITERAL, STRING_DELIM, IDENTIFIER,
  NUMBER, OPERATOR, GROUPING, COMMENT,
  END
}
 

Public Member Functions

 PythonToken ()
 
 PythonToken (Type type, const Range &range, const QString &value)
 
Type GetType () const
 
QString GetTypeAsString () const
 
const QString & GetValue () const
 
const RangeGetRange () const
 

Detailed Description

Definition at line 54 of file python_tokenizer.hh.

Member Enumeration Documentation

enum Type
Enumerator
KEYWORD 
STRING_LITERAL 
STRING_DELIM 
IDENTIFIER 
NUMBER 
OPERATOR 
GROUPING 
COMMENT 
END 

Definition at line 57 of file python_tokenizer.hh.

Constructor & Destructor Documentation

PythonToken ( Type  type,
const Range range,
const QString &  value 
)

Member Function Documentation

const Range& GetRange ( ) const
Type GetType ( ) const
QString GetTypeAsString ( ) const
const QString& GetValue ( ) const

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