Class ValueCode

    • Field Detail

      • encoded

        protected final boolean encoded
      • les

        protected final java.util.concurrent.ExecutorService les
      • compiledAppended

        private java.util.regex.Pattern compiledAppended
    • Method Detail

      • execute

        public java.io.Writer execute​(java.io.Writer writer,
                                      java.util.List<java.lang.Object> scopes)
        Description copied from class: DefaultCode
        The default behavior is to run the codes and append the captured text.
        Specified by:
        execute in interface Code
        Overrides:
        execute in class DefaultCode
        Parameters:
        writer - The writer to write the output to
        scopes - The scopes to evaluate the embedded names against.
      • handleCallable

        protected java.io.Writer handleCallable​(java.io.Writer writer,
                                                java.util.concurrent.Callable callable,
                                                java.util.List<java.lang.Object> scopes)
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • execute

        private void execute​(java.io.Writer writer,
                             java.util.concurrent.Callable callable)
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • handleFunction

        protected void handleFunction​(java.io.Writer writer,
                                      java.util.function.Function function,
                                      java.util.List<java.lang.Object> scopes)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • execute

        protected void execute​(java.io.Writer writer,
                               java.lang.String value)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • invert

        public Node invert​(Node node,
                           java.lang.String text,
                           java.util.concurrent.atomic.AtomicInteger position)
        Specified by:
        invert in interface Code
        Overrides:
        invert in class DefaultCode