package de.dhbwstuttgart.strucTypes;

import de.dhbwstuttgart.syntaxtree.ClassOrInterface;
import de.dhbwstuttgart.syntaxtree.FormalParameter;
import de.dhbwstuttgart.syntaxtree.Method;

public class TV_Alpha extends TV_Abstract {

	
	Method method; 
	Integer index; 
	ClassOrInterface cl; 
	
	// Nicht direkt gefordert... 
	FormalParameter fp; 
	
	
	public TV_Alpha( Method method, Integer index , ClassOrInterface cl , FormalParameter fp  )  {
		super(); 
		this.method = method; 
		this.index = index; 
		this.cl = cl; 
		this.fp = fp; 
	}
	
	
	public String toString() {
		// Ausgabe Alpha( Methodenname , Index, Klasse) 
		return String.format("Alpha( %s , %s , %s) "  , method.getName() , index.toString() , cl.getClassName().toString());  
	}
	
	
	
	
	
	
	
	
}
