MagicSmoke  $VERSION$
MStickToken Class Reference

#include <stick_p.h>

Public Types

enum  Type {
  Type::CompoundToken, Type::ForLoop, Type::PrintExpression, Type::CalcExpression,
  Type::IfElse, Type::Else, Type::Comment, Type::Text,
  Type::EndIf, Type::EndFor
}
 

Public Member Functions

 MStickToken ()=default
 
 MStickToken (const MStickToken &)=default
 
 MStickToken (MStickToken &&)=default
 
bool hasError () const
 
MStickTokenoperator= (const MStickToken &)=default
 
MStickTokenoperator= (MStickToken &&)=default
 
QString render (MStickRenderer &, ELAM::Engine &)
 

Friends

class MStickTokenizer
 

Member Enumeration Documentation

enum MStickToken::Type
strong
Enumerator
CompoundToken 
ForLoop 
PrintExpression 
CalcExpression 
IfElse 
Else 
Comment 
Text 
EndIf 
EndFor 

Constructor & Destructor Documentation

MStickToken::MStickToken ( )
default
MStickToken::MStickToken ( const MStickToken )
default
MStickToken::MStickToken ( MStickToken &&  )
default

Member Function Documentation

bool MStickToken::hasError ( ) const
inline

Referenced by render().

MStickToken& MStickToken::operator= ( const MStickToken )
default
MStickToken& MStickToken::operator= ( MStickToken &&  )
default
QString MStickToken::render ( MStickRenderer renderer,
ELAM::Engine &  engine 
)

Friends And Related Function Documentation

friend class MStickTokenizer
friend

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