use of de.be4.classicalb.core.parser.node.TMultilineStringContent in project probparsers by bendisposto.
the class SyntaxExtensionTranslator method caseAMultilineStringExpression.
@Override
public void caseAMultilineStringExpression(AMultilineStringExpression node) {
final TMultilineStringContent content = node.getContent();
final String text = content.getText();
TStringLiteral tStringLiteral = new TStringLiteral(text, content.getLine(), content.getPos());
AStringExpression stringNode = new AStringExpression(tStringLiteral);
stringNode.setStartPos(node.getStartPos());
stringNode.setEndPos(node.getEndPos());
node.replaceBy(stringNode);
}
Aggregations