Class VariableDeclaration

java.lang.Object
org.fife.rsta.ac.common.VariableDeclaration

public class VariableDeclaration extends Object
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 Details

    • type

      private String type
    • name

      private String name
    • offset

      private int offset
  • Constructor Details

    • VariableDeclaration

      public VariableDeclaration(String name, int offset)
    • VariableDeclaration

      public VariableDeclaration(String type, String name, int offset)
  • Method Details

    • getName

      public String getName()
    • getOffset

      public int getOffset()
    • getType

      public String getType()
      Returns the type of this variable.
      Returns:
      The variable's type, or null if none.