Packages

c

ch.usi.inf.reveal.parsing.model.java

VariableDeclarationNode

case class VariableDeclarationNode(identifier: IdentifierNode, arrayDepth: Seq[ArrayDimensionNode], assignment: Option[VariableAssignmentNode], varType: TypeNode = UndefinedTypeNode, comments: Seq[CommentNode]) extends JavaASTNode with Product with Serializable

Represents a variable declaration.

identifier

the name of the variable.

arrayDepth

the optional sequence of array dimension nodes.

assignment

the optional assignment node.

varType

the declared variable type. Can be UndefinedTypeNode

Linear Supertypes
Serializable, Serializable, JavaASTNode, HASTNode, JsonSerializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VariableDeclarationNode
  2. Serializable
  3. Serializable
  4. JavaASTNode
  5. HASTNode
  6. JsonSerializable
  7. Product
  8. Equals
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VariableDeclarationNode(identifier: IdentifierNode, arrayDepth: Seq[ArrayDimensionNode], assignment: Option[VariableAssignmentNode], varType: TypeNode = UndefinedTypeNode, comments: Seq[CommentNode])

    identifier

    the name of the variable.

    arrayDepth

    the optional sequence of array dimension nodes.

    assignment

    the optional assignment node.

    varType

    the declared variable type. Can be UndefinedTypeNode

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val arrayDepth: Seq[ArrayDimensionNode]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val assignment: Option[VariableAssignmentNode]
  7. def bindToType(aType: TypeNode): VariableDeclarationNode

    Binds the variable to a given type.

    Binds the variable to a given type.

    aType

    the type to bind the variable to.

  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val comments: Seq[CommentNode]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. val identifier: IdentifierNode
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. val varType: TypeNode
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from JavaASTNode

Inherited from HASTNode

Inherited from JsonSerializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped