java.lang.Object
org.apache.sling.scripting.sightly.impl.compiler.Syntax

public class Syntax extends Object
HTL Syntax specific elements.
  • Field Details

  • Constructor Details

    • Syntax

      public Syntax()
  • Method Details

    • isSightlyComment

      public static boolean isSightlyComment(String text)
      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

      public static boolean isPluginAttribute(String attributeName)
    • parsePluginAttribute

      public static PluginCallInfo parsePluginAttribute(String attributeName)
    • itemLoopStatusVariable

      public static String itemLoopStatusVariable(String itemVariable)