org.rythmengine.internal.parser.CodeToken Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rythm-engine Show documentation
Show all versions of rythm-engine Show documentation
A strong typed high performance Java Template engine with .Net Razor like syntax
/**
* Copyright (C) 2013-2016 The Rythm Engine project
* for LICENSE and other details see:
* https://github.com/rythmengine/rythmengine
*/
package org.rythmengine.internal.parser;
import org.rythmengine.internal.IContext;
import org.rythmengine.internal.Token;
import org.rythmengine.utils.TextBuilder;
public class CodeToken extends Token {
protected CodeToken(String s, TextBuilder caller) {
super(s, caller);
}
public CodeToken(String s, IContext context) {
super(s, context);
}
@Override
public void output() {
p(s);
pline();
}
}