* Copyright (C) 2010 Robert Futrell
* robert_futrell at users.sourceforge.net
* http://fifesoft.com/rsyntaxtextarea
* This library is distributed under a modified BSD license. See the included
* RSTALanguageSupport.License.txt file for details.
package org.fife.rsta.ac.java.rjc.ast;
import org.fife.rsta.ac.java.rjc.lang.Type;
import org.fife.rsta.ac.java.rjc.lexer.Scanner;
* Base class for local variables and formal parameters.
public class LocalVariable extends AbstractASTNode {
public LocalVariable(Scanner s, boolean isFinal,
Type type, int offs, String name) {
super(name, s.createOffset(offs), s.createOffset(offs+name.length()));
public boolean isFinal() {