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

com.dragome.compiler.ast.ThisExpression Maven / Gradle / Ivy

There is a newer version: 0.96-beta4
Show newest version
package com.dragome.compiler.ast;

import org.apache.bcel.generic.Type;

import com.dragome.compiler.generators.AbstractVisitor;

public class ThisExpression extends VariableBinding
{

	private static VariableDeclaration vd;

	static
	{
		vd= new VariableDeclaration(VariableDeclaration.NON_LOCAL);
		vd.setName("this");
		vd.setType(Type.OBJECT);
	}

	public ThisExpression()
	{
		super(vd);
	}

	public void visit(AbstractVisitor visitor)
	{
		visitor.visit(this);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy