Package org.fife.rsta.ac.common
Class VariableDeclaration
java.lang.Object
org.fife.rsta.ac.common.VariableDeclaration
A marker for a variable declaration. This can be used by
LanguageSupports to mark variables, and is especially helpful
when used in conjunction with CodeBlock.- Version:
- 1.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVariableDeclaration(String name, int offset) VariableDeclaration(String type, String name, int offset) -
Method Summary
-
Field Details
-
type
-
name
-
offset
private int offset
-
-
Constructor Details
-
VariableDeclaration
-
VariableDeclaration
-
-
Method Details
-
getName
-
getOffset
public int getOffset() -
getType
Returns the type of this variable.- Returns:
- The variable's type, or
nullif none.
-