Home
last modified time | relevance | path

Searched refs:SpaceGobbling (Results 1 – 12 of 12) sorted by relevance

/external/apache-velocity-engine/velocity-engine-core/src/test/java/org/apache/velocity/test/
DSpaceGobblingTestCase.java28 import org.apache.velocity.runtime.RuntimeConstants.SpaceGobbling;
70 private VelocityEngine createEngine(SpaceGobbling mode) in createEngine()
85 for (SpaceGobbling mode : SpaceGobbling.values()) in testSpaceGobbling()
91 private void testMode(SpaceGobbling mode) throws Exception in testMode()
111 private void testTemplate(String templateFile, SpaceGobbling mode) throws Exception in testTemplate()
/external/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/node/
DASTIfStatement.java28 import org.apache.velocity.runtime.RuntimeConstants.SpaceGobbling;
104 if (rsvc.getSpaceGobbling() == SpaceGobbling.STRUCTURED && postfix.length() > 0) in init()
157 SpaceGobbling spaceGobbling = rsvc.getSpaceGobbling(); in render()
159 if (morePrefix.length() > 0 || spaceGobbling.compareTo(SpaceGobbling.LINES) < 0) in render()
196 if (morePrefix.length() > 0 || spaceGobbling == SpaceGobbling.NONE) in render()
DASTBlock.java27 import org.apache.velocity.runtime.RuntimeConstants.SpaceGobbling;
137 SpaceGobbling spaceGobbling = rsvc.getSpaceGobbling(); in render()
139 if (spaceGobbling == SpaceGobbling.NONE) in render()
149 if (morePostfix.length() > 0 || spaceGobbling.compareTo(SpaceGobbling.LINES) < 0) in render()
DASTSetDirective.java27 import org.apache.velocity.runtime.RuntimeConstants.SpaceGobbling;
143 if (rsvc.getSpaceGobbling() == SpaceGobbling.BC) in init()
224 SpaceGobbling spaceGobbling = rsvc.getSpaceGobbling(); in render()
231 if (morePrefix.length() > 0 || spaceGobbling.compareTo(SpaceGobbling.LINES) < 0) in render()
254 if (morePrefix.length() > 0 || spaceGobbling == SpaceGobbling.NONE) in render()
DASTDirective.java28 import org.apache.velocity.runtime.RuntimeConstants.SpaceGobbling;
222 …if (morePrefix.length() == 0 && rsvc.getSpaceGobbling() == SpaceGobbling.STRUCTURED && isInitializ… in init()
287 SpaceGobbling spaceGobbling = rsvc.getSpaceGobbling(); in render()
294 if (morePrefix.length() > 0 || spaceGobbling.compareTo(SpaceGobbling.LINES) < 0) in render()
311 if (morePrefix.length() > 0 || spaceGobbling == SpaceGobbling.NONE) in render()
/external/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/runtime/directive/
DRuntimeMacro.java31 import org.apache.velocity.runtime.RuntimeConstants.SpaceGobbling;
187 SpaceGobbling spaceGobbling = rsvc.getSpaceGobbling(); in getLiteral()
208 … else if (morePrefix.length() == 0 && spaceGobbling.compareTo(SpaceGobbling.LINES) >= 0) in getLiteral()
228 … if ((morePrefix.length() > 0 || spaceGobbling == SpaceGobbling.NONE) && literal.endsWith(postfix)) in getLiteral()
/external/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/runtime/
DRuntimeServices.java28 import org.apache.velocity.runtime.RuntimeConstants.SpaceGobbling;
475 SpaceGobbling getSpaceGobbling(); in getSpaceGobbling()
DRuntimeConstants.java469 enum SpaceGobbling enum
DRuntimeInstance.java218 private SpaceGobbling spaceGobbling;
393 spaceGobbling = SpaceGobbling.valueOf(im.toUpperCase(Locale.ROOT)); in initializeSelfProperties()
397 spaceGobbling = SpaceGobbling.LINES; in initializeSelfProperties()
1993 public SpaceGobbling getSpaceGobbling() in getSpaceGobbling()
/external/apache-velocity-engine/generated-sources/javacc/org/apache/velocity/runtime/parser/
DStandardParser.java16 import static org.apache.velocity.runtime.RuntimeConstants.SpaceGobbling;
1350 … newlineAtStart && rsvc.getSpaceGobbling() != SpaceGobbling.BC || rsvc.getSpaceGobbling() == Space… in Directive()
1497 if (jj_2_11(2) && (newlineAtStart || rsvc.getSpaceGobbling() == SpaceGobbling.BC)) { in Directive()
2569 if (jj_2_20(2) && (newlineAtStart || rsvc.getSpaceGobbling() == SpaceGobbling.BC)) { in IfStatement()
2922 if (jj_2_23(2) && (afterNewline || rsvc.getSpaceGobbling() == SpaceGobbling.BC)) { in SetDirective()
DStandardParserTokenManager.java14 import static org.apache.velocity.runtime.RuntimeConstants.SpaceGobbling;
/external/apache-velocity-engine/velocity-engine-core/src/main/parser/
DParser.jjt94 import static org.apache.velocity.runtime.RuntimeConstants.SpaceGobbling;
1926 … newlineAtStart && rsvc.getSpaceGobbling() != SpaceGobbling.BC || rsvc.getSpaceGobbling() == Space…
2025 LOOKAHEAD(2, { newlineAtStart || rsvc.getSpaceGobbling() == SpaceGobbling.BC })
2284 LOOKAHEAD(2, { newlineAtStart || rsvc.getSpaceGobbling() == SpaceGobbling.BC } )
2407 LOOKAHEAD(2, { afterNewline || rsvc.getSpaceGobbling() == SpaceGobbling.BC } )