All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fulib.scenarios.ast.sentence.ActorSentence Maven / Gradle / Ivy

// Generated by GenTreeSrc v0.10.2
// DO NOT EDIT - CHANGES WILL BE LOST ON RE-GENERATE

package org.fulib.scenarios.ast.sentence;

import org.fulib.scenarios.ast.Node;
import org.fulib.scenarios.ast.Positioned;
import org.fulib.scenarios.ast.decl.Name;


public interface ActorSentence extends Sentence
{
	// =============== Properties ===============
	Name getActor();
	void setActor(Name actor);
	// =============== Methods ===============
	default  R accept(ActorSentence.Visitor visitor, P par) { return visitor.visit(this, par); }
	@Override default  R accept(Sentence.Visitor visitor, P par) { return visitor.visit(this, par); }
	@Override default  R accept(Positioned.Visitor visitor, P par) { return visitor.visit(this, par); }
	@Override default  R accept(Node.Visitor visitor, P par) { return visitor.visit(this, par); }
	// =============== Classes ===============
	interface Visitor extends CreateSentence.Visitor, CallSentence.Visitor, AnswerSentence.Visitor, MutatingSentence.Visitor, TakeSentence.Visitor, MatchSentence.Visitor
	{
		// =============== Methods ===============
		default R visit(ActorSentence actorSentence, P par) { throw new UnsupportedOperationException(this.getClass().getName() + ".visit(" + actorSentence.getClass().getName() + ")"); }
		@Override default R visit(CreateSentence createSentence, P par) { return this.visit((ActorSentence) createSentence, par); }
		@Override default R visit(CallSentence callSentence, P par) { return this.visit((ActorSentence) callSentence, par); }
		@Override default R visit(AnswerSentence answerSentence, P par) { return this.visit((ActorSentence) answerSentence, par); }
		@Override default R visit(MutatingSentence mutatingSentence, P par) { return this.visit((ActorSentence) mutatingSentence, par); }
		@Override default R visit(TakeSentence takeSentence, P par) { return this.visit((ActorSentence) takeSentence, par); }
		@Override default R visit(MatchSentence matchSentence, P par) { return this.visit((ActorSentence) matchSentence, par); }
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy