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

org.fife.rsta.ac.js.ast.JavaScriptFunctionDeclaration Maven / Gradle / Ivy

Go to download

A library adding code completion and other advanced features for Java, JavaScript, Perl, and other languages to RSyntaxTextArea.

The newest version!
package org.fife.rsta.ac.js.ast;

import org.fife.rsta.ac.js.ast.type.TypeDeclaration;


public class JavaScriptFunctionDeclaration extends JavaScriptDeclaration {

	private TypeDeclaration typeDec;

	private String functionName;


	public JavaScriptFunctionDeclaration(String name, int offset, CodeBlock block, TypeDeclaration typeDec) {
		super(name, offset, block);
		this.typeDec = typeDec;
	}


	public TypeDeclaration getTypeDeclaration() {
		return typeDec;
	}

	public void setFunctionName(String functionName) {
		this.functionName = functionName;
	}

	public String getFunctionName()
	{
		return functionName;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy