ScummVM API documentation
LingoDec::CodeWriterVisitor Class Reference
Inheritance diagram for LingoDec::CodeWriterVisitor:
LingoDec::NodeVisitor

Public Member Functions

 CodeWriterVisitor (bool dotSyntax, bool sum, const Common::String &lineEnding="\, const Common::String &indentation=" ")
 
virtual void visit (const LingoDec::HandlerNode &node) override
 
virtual void visit (const LingoDec::ErrorNode &node) override
 
virtual void visit (const LingoDec::CommentNode &node) override
 
virtual void visit (const LingoDec::NewObjNode &node) override
 
virtual void visit (const LingoDec::LiteralNode &node) override
 
virtual void visit (const LingoDec::IfStmtNode &node) override
 
virtual void visit (const LingoDec::EndCaseNode &node) override
 
virtual void visit (const LingoDec::ObjCallNode &node) override
 
virtual void visit (const LingoDec::PutStmtNode &node) override
 
virtual void visit (const LingoDec::TheExprNode &node) override
 
virtual void visit (const LingoDec::BinaryOpNode &node) override
 
virtual void visit (const LingoDec::CaseStmtNode &node) override
 
virtual void visit (const LingoDec::ExitStmtNode &node) override
 
virtual void visit (const LingoDec::TellStmtNode &node) override
 
virtual void visit (const LingoDec::WhenStmtNode &node) override
 
virtual void visit (const LingoDec::CaseLabelNode &node) override
 
virtual void visit (const LingoDec::ChunkExprNode &node) override
 
virtual void visit (const LingoDec::InverseOpNode &node) override
 
virtual void visit (const LingoDec::ObjCallV4Node &node) override
 
virtual void visit (const LingoDec::OtherwiseNode &node) override
 
virtual void visit (const LingoDec::MemberExprNode &node) override
 
virtual void visit (const LingoDec::ObjPropExprNode &node) override
 
virtual void visit (const LingoDec::PlayCmdStmtNode &node) override
 
virtual void visit (const LingoDec::ThePropExprNode &node) override
 
virtual void visit (const LingoDec::MenuPropExprNode &node) override
 
virtual void visit (const LingoDec::SoundCmdStmtNode &node) override
 
virtual void visit (const LingoDec::SoundPropExprNode &node) override
 
virtual void visit (const LingoDec::AssignmentStmtNode &node) override
 
virtual void visit (const LingoDec::ExitRepeatStmtNode &node) override
 
virtual void visit (const LingoDec::NextRepeatStmtNode &node) override
 
virtual void visit (const LingoDec::ObjBracketExprNode &node) override
 
virtual void visit (const LingoDec::SpritePropExprNode &node) override
 
virtual void visit (const LingoDec::ChunkDeleteStmtNode &node) override
 
virtual void visit (const LingoDec::ChunkHiliteStmtNode &node) override
 
virtual void visit (const LingoDec::RepeatWhileStmtNode &node) override
 
virtual void visit (const LingoDec::MenuItemPropExprNode &node) override
 
virtual void visit (const LingoDec::ObjPropIndexExprNode &node) override
 
virtual void visit (const LingoDec::RepeatWithInStmtNode &node) override
 
virtual void visit (const LingoDec::RepeatWithToStmtNode &node) override
 
virtual void visit (const LingoDec::SpriteWithinExprNode &node) override
 
virtual void visit (const LingoDec::LastStringChunkExprNode &node) override
 
virtual void visit (const LingoDec::SpriteIntersectsExprNode &node) override
 
virtual void visit (const LingoDec::StringChunkCountExprNode &node) override
 
virtual void visit (const LingoDec::VarNode &node) override
 
virtual void visit (const LingoDec::CallNode &node) override
 
virtual void visit (const LingoDec::BlockNode &node) override
 
virtual void visit (const LingoDec::NotOpNode &node) override
 
size_t lineWidth () const
 
void indent ()
 
void unindent ()
 
void writeIndentation ()
 
void write (char c)
 
void write (const Common::String &s)
 
void writeLine ()
 
void writeLine (const Common::String &s)
 
void write (LingoDec::Datum &datum)
 
- Public Member Functions inherited from LingoDec::NodeVisitor
virtual void defaultVisit (const Node &)
 

Public Attributes

Common::String _str
 

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