Class Syntax
java.lang.Object
org.apache.sling.scripting.sightly.impl.compiler.Syntax
HTL Syntax specific elements.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isPluginAttribute
(String attributeName) static boolean
isSightlyComment
(String text) Checks whether a piece of text represents a HTL commentstatic String
itemLoopStatusVariable
(String itemVariable) static PluginCallInfo
parsePluginAttribute
(String attributeName)
-
Field Details
-
SLY_COMMENT_PREFIX
- See Also:
-
SLY_COMMENT_SUFFIX
- See Also:
-
PLUGIN_ATTRIBUTE_PREFIX
- See Also:
-
DEFAULT_LIST_ITEM_VAR_NAME
- See Also:
-
ITEM_LOOP_STATUS_SUFFIX
- See Also:
-
CONTEXT_OPTION
- See Also:
-
-
Constructor Details
-
Syntax
public Syntax()
-
-
Method Details
-
isSightlyComment
Checks whether a piece of text represents a HTL comment- Parameters:
text
- - the text- Returns:
- - true if it is a HTL comment, false otherwise
-
isPluginAttribute
-
parsePluginAttribute
-
itemLoopStatusVariable
-