类 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.
    版本:
    1.0
    作者:
    Robert Futrell
    另请参阅:
    CodeBlock
    • 构造器详细资料

      • VariableDeclaration

        public VariableDeclaration​(String name,
                                   int offset)
      • VariableDeclaration

        public VariableDeclaration​(String type,
                                   String name,
                                   int offset)
    • 方法详细资料

      • getName

        public String getName()
      • getOffset

        public int getOffset()
      • getType

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