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());
}
}
Aggregations