case class BlockDeclarationNode(modifiers: Seq[ModifierNode], block: BlockNode) extends MemberDeclarationNode with Product with Serializable
A block declaration (inside a class, like a static block).
- modifiers
a set of modifiers for the block.
- block
the actual block of code.
- Alphabetic
- By Inheritance
- BlockDeclarationNode
- Serializable
- Serializable
- MemberDeclarationNode
- JavaASTNode
- HASTNode
- JsonSerializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
BlockDeclarationNode(modifiers: Seq[ModifierNode], block: BlockNode)
builds a new node (used only in parsing)
builds a new node (used only in parsing)
- modifiers
a set of modifiers for the block.
- block
the actual block of code.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
lazy val
annotations: Seq[AnnotationNode]
The annotations for this member.
The annotations for this member.
- Definition Classes
- MemberDeclarationNode
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
bindModifiers(newModifiers: Seq[ModifierNode]): BlockDeclarationNode
Binds an additional set of modifiers for this node, constructing a new Member Declaration.
Binds an additional set of modifiers for this node, constructing a new Member Declaration.
- newModifiers
a new set of modifiers to add.
- returns
a new member declaration node with the same attributes of
this
but an additional set of modifiers.
- Definition Classes
- BlockDeclarationNode → MemberDeclarationNode
- val block: BlockNode
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
keywordModifiers: Seq[KeywordModifierNode]
The keyword modifiers for this member.
The keyword modifiers for this member.
- Definition Classes
- MemberDeclarationNode
-
val
modifiers: Seq[ModifierNode]
- Definition Classes
- BlockDeclarationNode → MemberDeclarationNode
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )