diff options
author | Adrian Thurston <thurston@colm.net> | 2020-01-05 10:45:42 +0200 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2020-01-05 10:45:42 +0200 |
commit | ce07bb4538ad2ddf0a3b7c62b0a04bbf0b687d21 (patch) | |
tree | bef13a7539d6f76cc85e7385a10c93844e79ce5b /ragel/dot.h | |
parent | a8b2047e0043649bbd3a33d7c7ba67b6af57594b (diff) | |
download | colm-ce07bb4538ad2ddf0a3b7c62b0a04bbf0b687d21.tar.gz |
some function renaming and old code removal to elim warnings
refs #97
Diffstat (limited to 'ragel/dot.h')
-rw-r--r-- | ragel/dot.h | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/ragel/dot.h b/ragel/dot.h index 745636df..13f53532 100644 --- a/ragel/dot.h +++ b/ragel/dot.h @@ -26,30 +26,12 @@ #include <iostream> #include "gendata.h" -class GraphvizDotGenOrig : public CodeGenData -{ -public: - GraphvizDotGenOrig( const CodeGenArgs &args ) - : CodeGenData(args) { } - - /* Print an fsm to out stream. */ - void writeTransList( RedStateAp *state ); - void writeDotFile( ); - - virtual void writeStatement( InputLoc &, int, std::string * ); - -private: - /* Writing labels and actions. */ - std::ostream &ONCHAR( Key lowKey, Key highKey ); - std::ostream &TRANS_ACTION( RedStateAp *fromState, RedTransAp *trans ); - std::ostream &ACTION( RedAction *action ); - std::ostream &KEY( Key key ); -}; class GraphvizDotGen : public RedBase { public: - GraphvizDotGen( FsmGbl *id, FsmCtx *fsmCtx, FsmAp *fsm, std::string fsmName, int machineId, std::ostream &out ) + GraphvizDotGen( FsmGbl *id, FsmCtx *fsmCtx, FsmAp *fsm, + std::string fsmName, int machineId, std::ostream &out ) : RedBase(id, fsmCtx, fsm, fsmName, machineId), out(out) |