#include <tclexer.hh>
Inheritance diagram for TypechainLexer:
void complete_token(string token, map<string,string> params);
This method is called whenever a complete identifier token has been parsed, with parameters (which will have no contents if there were no parameters. If a key was supplied with no value, the key will be present with an empty string for value. If an empty identifier was given (e.g. "foo;;bar;baz") then this method will be called with an empty string for token (you may then issue an error, warning, or simply ignore it, as you wish). Reserved identifiers (such as "type") are also passed to this method.
void final_type(string token, map<string,string> params);
This method is called once for the final media type identifer token has been parsed, with parameters, analagous to complete_token.
Definition at line 66 of file tclexer.hh.
|
Constructor.
Definition at line 86 of file tclexer.hh. |
|
Definition at line 74 of file tclexer.hh. |
|
Override this in your subclass to take action on a token.
|
|
Override this in your subclass to take action on the final type token.
|
|
Call this to do the scan.
Reimplemented from yyFlexLexer. |
|
Definition at line 71 of file tclexer.hh. Referenced by clear_vars(), and TypechainLexer(). |
|
Definition at line 70 of file tclexer.hh. Referenced by clear_vars(). |
|
Definition at line 69 of file tclexer.hh. Referenced by clear_vars(). |
|
Definition at line 72 of file tclexer.hh. Referenced by TypechainLexer(). |