Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Copyright (C) 2006-2020 Fabrizio Montesi
* Copyright (C) 2020 Valentino Picotti
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301 USA
*/
package jolie.lang.parse;
import jolie.lang.parse.ast.expression.*;
import jolie.util.Unit;
import jolie.lang.parse.ast.AddAssignStatement;
import jolie.lang.parse.ast.AssignStatement;
import jolie.lang.parse.ast.CompareConditionNode;
import jolie.lang.parse.ast.CompensateStatement;
import jolie.lang.parse.ast.CorrelationSetInfo;
import jolie.lang.parse.ast.CurrentHandlerStatement;
import jolie.lang.parse.ast.DeepCopyStatement;
import jolie.lang.parse.ast.DefinitionCallStatement;
import jolie.lang.parse.ast.DefinitionNode;
import jolie.lang.parse.ast.DivideAssignStatement;
import jolie.lang.parse.ast.DocumentationComment;
import jolie.lang.parse.ast.EmbedServiceNode;
import jolie.lang.parse.ast.EmbeddedServiceNode;
import jolie.lang.parse.ast.ExecutionInfo;
import jolie.lang.parse.ast.ExitStatement;
import jolie.lang.parse.ast.ForEachArrayItemStatement;
import jolie.lang.parse.ast.ForEachSubNodeStatement;
import jolie.lang.parse.ast.ForStatement;
import jolie.lang.parse.ast.IfStatement;
import jolie.lang.parse.ast.ImportStatement;
import jolie.lang.parse.ast.InputPortInfo;
import jolie.lang.parse.ast.InstallFixedVariableExpressionNode;
import jolie.lang.parse.ast.InstallStatement;
import jolie.lang.parse.ast.InterfaceDefinition;
import jolie.lang.parse.ast.InterfaceExtenderDefinition;
import jolie.lang.parse.ast.LinkInStatement;
import jolie.lang.parse.ast.LinkOutStatement;
import jolie.lang.parse.ast.MultiplyAssignStatement;
import jolie.lang.parse.ast.NDChoiceStatement;
import jolie.lang.parse.ast.NotificationOperationStatement;
import jolie.lang.parse.ast.NullProcessStatement;
import jolie.lang.parse.ast.OLSyntaxNode;
import jolie.lang.parse.ast.OneWayOperationDeclaration;
import jolie.lang.parse.ast.OneWayOperationStatement;
import jolie.lang.parse.ast.OutputPortInfo;
import jolie.lang.parse.ast.ParallelStatement;
import jolie.lang.parse.ast.PointerStatement;
import jolie.lang.parse.ast.PostDecrementStatement;
import jolie.lang.parse.ast.PostIncrementStatement;
import jolie.lang.parse.ast.PreDecrementStatement;
import jolie.lang.parse.ast.PreIncrementStatement;
import jolie.lang.parse.ast.Program;
import jolie.lang.parse.ast.ProvideUntilStatement;
import jolie.lang.parse.ast.RequestResponseOperationDeclaration;
import jolie.lang.parse.ast.RequestResponseOperationStatement;
import jolie.lang.parse.ast.RunStatement;
import jolie.lang.parse.ast.Scope;
import jolie.lang.parse.ast.SequenceStatement;
import jolie.lang.parse.ast.ServiceNode;
import jolie.lang.parse.ast.SolicitResponseOperationStatement;
import jolie.lang.parse.ast.SpawnStatement;
import jolie.lang.parse.ast.SubtractAssignStatement;
import jolie.lang.parse.ast.SynchronizedStatement;
import jolie.lang.parse.ast.ThrowStatement;
import jolie.lang.parse.ast.TypeCastExpressionNode;
import jolie.lang.parse.ast.UndefStatement;
import jolie.lang.parse.ast.ValueVectorSizeExpressionNode;
import jolie.lang.parse.ast.VariablePathNode;
import jolie.lang.parse.ast.WhileStatement;
import jolie.lang.parse.ast.courier.CourierChoiceStatement;
import jolie.lang.parse.ast.courier.CourierDefinitionNode;
import jolie.lang.parse.ast.courier.NotificationForwardStatement;
import jolie.lang.parse.ast.courier.SolicitResponseForwardStatement;
import jolie.lang.parse.ast.types.TypeChoiceDefinition;
import jolie.lang.parse.ast.types.TypeDefinitionLink;
import jolie.lang.parse.ast.types.TypeInlineDefinition;
public interface UnitOLVisitor extends OLVisitor< Unit, Unit > {
default void go( OLSyntaxNode n ) {
n.accept( this );
}
void visit( Program n );
default Unit visit( Program n, Unit c ) {
visit( n );
return Unit.INSTANCE;
}
void visit( OneWayOperationDeclaration decl );
default Unit visit( OneWayOperationDeclaration decl, Unit ctx ) {
visit( decl );
return Unit.INSTANCE;
}
void visit( RequestResponseOperationDeclaration decl );
default Unit visit( RequestResponseOperationDeclaration decl, Unit ctx ) {
visit( decl );
return Unit.INSTANCE;
}
void visit( DefinitionNode n );
default Unit visit( DefinitionNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( ParallelStatement n );
default Unit visit( ParallelStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( SequenceStatement n );
default Unit visit( SequenceStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( NDChoiceStatement n );
default Unit visit( NDChoiceStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( OneWayOperationStatement n );
default Unit visit( OneWayOperationStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( RequestResponseOperationStatement n );
default Unit visit( RequestResponseOperationStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( NotificationOperationStatement n );
default Unit visit( NotificationOperationStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( SolicitResponseOperationStatement n );
default Unit visit( SolicitResponseOperationStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( LinkInStatement n );
default Unit visit( LinkInStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( LinkOutStatement n );
default Unit visit( LinkOutStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( AssignStatement n );
default Unit visit( AssignStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( AddAssignStatement n );
default Unit visit( AddAssignStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( SubtractAssignStatement n );
default Unit visit( SubtractAssignStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( MultiplyAssignStatement n );
default Unit visit( MultiplyAssignStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( DivideAssignStatement n );
default Unit visit( DivideAssignStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( IfStatement n );
default Unit visit( IfStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( DefinitionCallStatement n );
default Unit visit( DefinitionCallStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( WhileStatement n );
default Unit visit( WhileStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( OrConditionNode n );
default Unit visit( OrConditionNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( AndConditionNode n );
default Unit visit( AndConditionNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( NotExpressionNode n );
default Unit visit( NotExpressionNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( CompareConditionNode n );
default Unit visit( CompareConditionNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( ConstantIntegerExpression n );
default Unit visit( ConstantIntegerExpression n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( ConstantDoubleExpression n );
default Unit visit( ConstantDoubleExpression n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( ConstantBoolExpression n );
default Unit visit( ConstantBoolExpression n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( ConstantLongExpression n );
default Unit visit( ConstantLongExpression n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( ConstantStringExpression n );
default Unit visit( ConstantStringExpression n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( ProductExpressionNode n );
default Unit visit( ProductExpressionNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( SumExpressionNode n );
default Unit visit( SumExpressionNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( VariableExpressionNode n );
default Unit visit( VariableExpressionNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( NullProcessStatement n );
default Unit visit( NullProcessStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( Scope n );
default Unit visit( Scope n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( InstallStatement n );
default Unit visit( InstallStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( CompensateStatement n );
default Unit visit( CompensateStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( ThrowStatement n );
default Unit visit( ThrowStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( ExitStatement n );
default Unit visit( ExitStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( ExecutionInfo n );
default Unit visit( ExecutionInfo n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( CorrelationSetInfo n );
default Unit visit( CorrelationSetInfo n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( InputPortInfo n );
default Unit visit( InputPortInfo n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( OutputPortInfo n );
default Unit visit( OutputPortInfo n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( PointerStatement n );
default Unit visit( PointerStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( DeepCopyStatement n );
default Unit visit( DeepCopyStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( RunStatement n );
default Unit visit( RunStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( UndefStatement n );
default Unit visit( UndefStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( ValueVectorSizeExpressionNode n );
default Unit visit( ValueVectorSizeExpressionNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( PreIncrementStatement n );
default Unit visit( PreIncrementStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( PostIncrementStatement n );
default Unit visit( PostIncrementStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( PreDecrementStatement n );
default Unit visit( PreDecrementStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( PostDecrementStatement n );
default Unit visit( PostDecrementStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( ForStatement n );
default Unit visit( ForStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( ForEachSubNodeStatement n );
default Unit visit( ForEachSubNodeStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( ForEachArrayItemStatement n );
default Unit visit( ForEachArrayItemStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( SpawnStatement n );
default Unit visit( SpawnStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( IsTypeExpressionNode n );
default Unit visit( IsTypeExpressionNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( InstanceOfExpressionNode n );
default Unit visit( InstanceOfExpressionNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( TypeCastExpressionNode n );
default Unit visit( TypeCastExpressionNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( SynchronizedStatement n );
default Unit visit( SynchronizedStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( CurrentHandlerStatement n );
default Unit visit( CurrentHandlerStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( EmbeddedServiceNode n );
default Unit visit( EmbeddedServiceNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( InstallFixedVariableExpressionNode n );
default Unit visit( InstallFixedVariableExpressionNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( VariablePathNode n );
default Unit visit( VariablePathNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( TypeInlineDefinition n );
default Unit visit( TypeInlineDefinition n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( TypeDefinitionLink n );
default Unit visit( TypeDefinitionLink n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( InterfaceDefinition n );
default Unit visit( InterfaceDefinition n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( DocumentationComment n );
default Unit visit( DocumentationComment n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( FreshValueExpressionNode n );
default Unit visit( FreshValueExpressionNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( CourierDefinitionNode n );
default Unit visit( CourierDefinitionNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( CourierChoiceStatement n );
default Unit visit( CourierChoiceStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( NotificationForwardStatement n );
default Unit visit( NotificationForwardStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( SolicitResponseForwardStatement n );
default Unit visit( SolicitResponseForwardStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( InterfaceExtenderDefinition n );
default Unit visit( InterfaceExtenderDefinition n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( InlineTreeExpressionNode n );
default Unit visit( InlineTreeExpressionNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( VoidExpressionNode n );
default Unit visit( VoidExpressionNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( ProvideUntilStatement n );
default Unit visit( ProvideUntilStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( TypeChoiceDefinition n );
default Unit visit( TypeChoiceDefinition n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( ImportStatement n );
default Unit visit( ImportStatement n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( ServiceNode n );
default Unit visit( ServiceNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( EmbedServiceNode n );
default Unit visit( EmbedServiceNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( SolicitResponseExpressionNode n );
default Unit visit( SolicitResponseExpressionNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
void visit( IfExpressionNode n );
default Unit visit( IfExpressionNode n, Unit ctx ) {
visit( n );
return Unit.INSTANCE;
}
}