Search in sources :

Example 1 with CommentEncoder

use of common.tetfu.encorder.CommentEncoder in project solution-finder by knewjade.

the class Tetfu method parseAction.

private void parseAction(TetfuElement element, ActionFlags flags) {
    ActionEncoder actionEncoder = new ActionEncoder(element, flags);
    boolean isCommented = actionEncoder.encode();
    encodedValues.addAll(actionEncoder.getEncodedValues());
    if (isCommented) {
        CommentEncoder commentEncoder = new CommentEncoder(flags.escapedComment);
        commentEncoder.encode();
        encodedValues.addAll(commentEncoder.getEncodedValues());
    }
}
Also used : ActionEncoder(common.tetfu.encorder.ActionEncoder) CommentEncoder(common.tetfu.encorder.CommentEncoder)

Aggregations

ActionEncoder (common.tetfu.encorder.ActionEncoder)1 CommentEncoder (common.tetfu.encorder.CommentEncoder)1