Class ValueOfCompiler

    • Constructor Detail

      • ValueOfCompiler

        public ValueOfCompiler()
    • Method Detail

      • isNoNodeIfEmpty

        protected boolean isNoNodeIfEmpty​(Expression expr)
        Overridable method to ask whether no node should be produced in the case that the content is empty
        isNoNodeIfEmpty in class SimpleNodeConstructorCompiler
        true if the rules for this instruction are that when the content is empty, no node is generated
      • pushNode

        protected void pushNode​(CompilerService compiler,
                                Expression expression)
        Generate code to write the node to the current receiver. On entry the stack holds the current receiver, the node name (for named node kinds only) and the content (for all nodes), as a UnicodeString
        Specified by:
        pushNode in class SimpleNodeConstructorCompiler
        compiler - the compiler service
        expression - the expression to be compiled