use of com.google.template.soy.soytree.RawTextNode.SourceOffsets in project closure-templates by google.
the class RawTextBuilder method build.
RawTextNode build() {
maybeFinishBasic();
String text = buffer.toString();
RawTextNode.SourceOffsets sourceOffsets = offsets.build(text.length(), discontinuityReason);
return new RawTextNode(nodeIdGen.genId(), text, sourceOffsets.getSourceLocation(fileName), sourceOffsets);
}
Aggregations