Interface ITemplateElement

    • Method Detail

      • isBlock

        boolean isBlock()
        Returns whether this element is a block (opposite is a single statement).
        Returns:
        true if it is a block, false else
      • isLoop

        boolean isLoop()
        Returns whether this element is a loop.
        Returns:
        true if it is a loop, false else
      • inferType

        TypeDescriptor<?> inferType()
                             throws VilException
        Infers the type of this language element.
        Returns:
        the type of this language element
        Throws:
        VilException - in case that type errors occur
      • endsWithContentStatement

        boolean endsWithContentStatement()
        Returns whether this element ends with a content statement.
        Returns:
        true for end with content statement, false else