You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by jv...@locus.apache.org on 2000/09/21 04:37:20 UTC

cvs commit: jakarta-velocity/src/java/org/apache/velocity/processor Processor.java

jvanzyl     00/09/20 19:37:20

  Modified:    src/java/org/apache/velocity/processor Processor.java
  Log:
  - update for self-walking tree.
  
  Revision  Changes    Path
  1.4       +4 -2      jakarta-velocity/src/java/org/apache/velocity/processor/Processor.java
  
  Index: Processor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/processor/Processor.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Processor.java	2000/09/19 19:49:53	1.3
  +++ Processor.java	2000/09/21 02:37:19	1.4
  @@ -59,10 +59,12 @@
   import java.io.IOException;
   
   import org.apache.velocity.Context;
  +import org.apache.velocity.processor.javacc.parser.SimpleNode;
  +import org.apache.velocity.processor.javacc.visitor.BaseVisitor;
   
   public interface Processor
   {
       public void init(String mode, String syntax) throws Exception;
  -    public void parse(InputStream inputStream) throws Exception;
  -    public void merge(Context context, Writer writer) throws IOException;
  +    public SimpleNode parse(InputStream inputStream) throws Exception;
  +    public BaseVisitor getVisitor();
   }