org.apache.velocity.runtime.parser.node.ParserVisitor Maven / Gradle / Ivy
Go to download
Velocity is a Java-based template engine. It permits anyone to use the
simple yet powerful template language to reference objects defined in Java
code.
package org.apache.velocity.runtime.parser.node;
/*
* Copyright 2000-2001,2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
public interface ParserVisitor
{
public Object visit(SimpleNode node, Object data);
public Object visit(ASTprocess node, Object data);
public Object visit(ASTComment node, Object data);
public Object visit(ASTNumberLiteral node, Object data);
public Object visit(ASTStringLiteral node, Object data);
public Object visit(ASTIdentifier node, Object data);
public Object visit(ASTWord node, Object data);
public Object visit(ASTDirective node, Object data);
public Object visit(ASTBlock node, Object data);
public Object visit(ASTObjectArray node, Object data);
public Object visit(ASTMethod node, Object data);
public Object visit(ASTReference node, Object data);
public Object visit(ASTTrue node, Object data);
public Object visit(ASTFalse node, Object data);
public Object visit(ASTText node, Object data);
public Object visit(ASTIfStatement node, Object data);
public Object visit(ASTElseStatement node, Object data);
public Object visit(ASTElseIfStatement node, Object data);
public Object visit(ASTSetDirective node, Object data);
public Object visit(ASTExpression node, Object data);
public Object visit(ASTAssignment node, Object data);
public Object visit(ASTOrNode node, Object data);
public Object visit(ASTAndNode node, Object data);
public Object visit(ASTEQNode node, Object data);
public Object visit(ASTNENode node, Object data);
public Object visit(ASTLTNode node, Object data);
public Object visit(ASTGTNode node, Object data);
public Object visit(ASTLENode node, Object data);
public Object visit(ASTGENode node, Object data);
public Object visit(ASTAddNode node, Object data);
public Object visit(ASTSubtractNode node, Object data);
public Object visit(ASTMulNode node, Object data);
public Object visit(ASTDivNode node, Object data);
public Object visit(ASTModNode node, Object data);
public Object visit(ASTNotNode node, Object data);
}