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.

There is a newer version: 3.3.0
Show newest version
package org.fife.rsta.ac.js.ast;

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


public class JavaScriptFunctionDeclaration {
	
	private String name;
	private int offset;
	private TypeDeclaration typeDec;
	private CodeBlock block;
	
	public JavaScriptFunctionDeclaration(String name, int offset, CodeBlock block, TypeDeclaration typeDec) {
		this.name = name;
		this.offset = offset;
		this.block = block;
		this.typeDec = typeDec;
	}
	
	public String getName()
	{
		return name;
	}
	
	public int getOffset()
	{
		return offset;
	}
	
	public TypeDeclaration getTypeDeclaration()
	{
		return typeDec;
	}
	
	public CodeBlock getCodeBlock()
	{
		return block;	
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy