| 
 | 
 | ||||||||||||||||
This is a specialized version of the import filter CodeGenerator.
It skips dest and action blocks in policies. The action block is replaced with the actual policy tagging.
| NoProtoSpec (class) | NoProtoSpec | 
| ProtoRedefined (class) | ProtoRedefined | 
| SourceMatchCodeGenerator (uint32_t tagstart) | SourceMatchCodeGenerator | 
Parameters:
| tagstart | the first policy tag available. | 
| const Element*  visit_policy (PolicyStatement& policy) | visit_policy | 
Reimplemented from CodeGenerator.
| const Element*  visit_term (Term& term) | visit_term | 
Reimplemented from CodeGenerator.
| const Element*  visit_proto (NodeProto& node) | visit_proto | 
Reimplemented from CodeGenerator.
| vector<Code*>&  codes () | codes | 
The targets of source match code may be multiple as different protocols may refer to different source terms. Thus many different code fragments may be generated.
Returns: seturn all the code fragments generated.