org.jactr.io.participant
Interface IASTTrimmer
- All Known Implementing Classes:
- BasicASTTrimmer
public interface IASTTrimmer
used to specify whether or not a specific CommonTree element should be output
by a code generator.
The name is a bit of a misnomer and should probably be changed. The
CommonTree describing the model does not change.
- Author:
- developer
|
Method Summary |
boolean |
shouldIgnore(org.antlr.runtime.tree.CommonTree element)
during the walking of the CommonTree describing the model, this will be
called for each visited node. |
shouldIgnore
boolean shouldIgnore(org.antlr.runtime.tree.CommonTree element)
- during the walking of the CommonTree describing the model, this will be
called for each visited node. If it returns true, the code for the element
will not be generated.
in the case of nodes describing chunktypes, the chunk children will still
be visited.
- Parameters:
element -
- Returns: