Class CodeBlock

    • Constructor Detail

      • CodeBlock

        public CodeBlock()
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        The block is empty if it only consists of { and }
        Specified by:
        isEmpty in interface freemarker.template.TemplateHashModel
        Overrides:
        isEmpty in class BaseNode
      • isAppliesInLookahead

        public boolean isAppliesInLookahead()
      • setAppliesInLookahead

        public void setAppliesInLookahead​(boolean appliesInLookahead)
      • getJavaCode

        public CodeBlock getJavaCode()
      • isPossiblyEmpty

        public boolean isPossiblyEmpty()
        Overrides:
        isPossiblyEmpty in class EmptyExpansion
        Returns:
        Can this expansion be matched by the empty string.