Package com.fizzed.rocker.model
Class WithStatement
java.lang.Object
com.fizzed.rocker.model.WithStatement
- All Implemented Interfaces:
NullSafety
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classWrapper around one variable and its expression -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final List<WithStatement.VariableWithExpression> private static final WithBlockParserListener -
Constructor Summary
ConstructorsConstructorDescriptionWithStatement(List<WithStatement.VariableWithExpression> variables) WithStatement(List<WithStatement.VariableWithExpression> variables, boolean nullSafe) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanstatic WithStatementparseWithStatement(String value, String templatePath)
-
Field Details
-
WITH_BLOCK_PARSER_LISTENER
-
variables
-
nullSafe
private final boolean nullSafe
-
-
Constructor Details
-
WithStatement
-
WithStatement
-
-
Method Details
-
getVariables
-
hasAnyVariableNullType
public boolean hasAnyVariableNullType() -
isNullSafe
public boolean isNullSafe()- Specified by:
isNullSafein interfaceNullSafety
-
parse
- Throws:
TokenException
-
parseWithStatement
-