MyLang
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
myparser::Pass< PASS_REPR > Class Template Reference

#include <myparser_pass_repr.hpp>

Inheritance diagram for myparser::Pass< PASS_REPR >:
Inheritance graph
[legend]
Collaboration diagram for myparser::Pass< PASS_REPR >:
Collaboration graph
[legend]

Public Member Functions

 Pass (std::ostream &target, const bool verbose, const bool compact)
 
void run (const NodeList<> *node)
 
void run (const NodeText<> *node)
 
template<class E >
void run (const NodeTextOrError< E > *node)
 
template<class E >
void run (const NodeError< E > *node)
 
- Public Member Functions inherited from myparser::PassProto< PASS_REPR >
 PassProto ()
 
- Public Member Functions inherited from myparser::PassBase
size_t getId ()
 

Protected Member Functions

virtual void putName (const std::string &name)
 
virtual void putIndex (const size_t index)
 
virtual void putText (const std::string &text)
 
virtual void putError (const std::string &error)
 
virtual void putMainBegin ()
 
virtual void putMainEnd ()
 
virtual void putPlaceHolder ()
 
virtual void putBegin ()
 
virtual void putEnd ()
 
virtual void putLnBegin ()
 
virtual void putLnEnd ()
 
virtual void putLn (const bool first)
 
- Protected Member Functions inherited from myparser::PassBase
 PassBase (const size_t pass)
 

Protected Attributes

std::ostream & out
 
size_t indent
 

Private Attributes

const bool optionV
 
const bool optionC
 

Additional Inherited Members

- Static Public Member Functions inherited from myparser::PassProto< PASS_REPR >
static MYPARSER_INLINE void call (PassBase *pass, const size_t target, const T *node)
 

Constructor & Destructor Documentation

myparser::Pass< PASS_REPR >::Pass ( std::ostream &  target,
const bool  verbose,
const bool  compact 
)
inline

Member Function Documentation

virtual void myparser::Pass< PASS_REPR >::putBegin ( )
inlineprotectedvirtual

Reimplemented in myparser::PassReprFull< TX >.

virtual void myparser::Pass< PASS_REPR >::putEnd ( )
inlineprotectedvirtual
virtual void myparser::Pass< PASS_REPR >::putError ( const std::string &  error)
inlineprotectedvirtual
virtual void myparser::Pass< PASS_REPR >::putIndex ( const size_t  index)
inlineprotectedvirtual
virtual void myparser::Pass< PASS_REPR >::putLn ( const bool  first)
inlineprotectedvirtual
virtual void myparser::Pass< PASS_REPR >::putLnBegin ( )
inlineprotectedvirtual

Reimplemented in myparser::PassReprJSON< TX >.

virtual void myparser::Pass< PASS_REPR >::putLnEnd ( )
inlineprotectedvirtual

Reimplemented in myparser::PassReprJSON< TX >.

virtual void myparser::Pass< PASS_REPR >::putMainBegin ( )
inlineprotectedvirtual

Reimplemented in myparser::PassReprJSON< TX >.

virtual void myparser::Pass< PASS_REPR >::putMainEnd ( )
inlineprotectedvirtual

Reimplemented in myparser::PassReprJSON< TX >.

virtual void myparser::Pass< PASS_REPR >::putName ( const std::string &  name)
inlineprotectedvirtual
virtual void myparser::Pass< PASS_REPR >::putPlaceHolder ( )
inlineprotectedvirtual

Reimplemented in myparser::PassReprSimple< TX >.

virtual void myparser::Pass< PASS_REPR >::putText ( const std::string &  text)
inlineprotectedvirtual
void myparser::Pass< PASS_REPR >::run ( const NodeList<> *  node)
inline
void myparser::Pass< PASS_REPR >::run ( const NodeText<> *  node)
inline
template<class E >
void myparser::Pass< PASS_REPR >::run ( const NodeTextOrError< E > *  node)
inline
template<class E >
void myparser::Pass< PASS_REPR >::run ( const NodeError< E > *  node)
inline

Member Data Documentation

size_t myparser::Pass< PASS_REPR >::indent
protected
const bool myparser::Pass< PASS_REPR >::optionC
private
const bool myparser::Pass< PASS_REPR >::optionV
private
std::ostream& myparser::Pass< PASS_REPR >::out
protected

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