case class TextFragmentNode(text: String) extends ASTTerminalNode with BlockStatementNode with MemberDeclarationNode with JavadocASTNode with Product with Serializable
A text fragment node.
To support island with lakes, this is also a block statement and a member declaration node, but the corresponding methods have no effect.
- text
the text of the fragment
- Alphabetic
- By Inheritance
- TextFragmentNode
- Serializable
- Serializable
- JavadocASTNode
- MemberDeclarationNode
- BlockStatementNode
- ASTTerminalNode
- JavaASTNode
- HASTNode
- JsonSerializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
TextFragmentNode(text: String)
constructs a new text fragment node
constructs a new text fragment node
- text
the text of the fragment
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
bindLabel(label: LabelNode): TextFragmentNode
Binds a new label to this block.
Binds a new label to this block.
- label
a label.
- returns
a new node with the label added.
- Definition Classes
- TextFragmentNode → BlockStatementNode
-
def
bindModifiers(newModifiers: Seq[ModifierNode]): TextFragmentNode
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
- TextFragmentNode → MemberDeclarationNode
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
val
comments: Seq[Nothing]
- Definition Classes
- TextFragmentNode → ASTTerminalNode
-
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
labels: Seq[LabelNode]
- Definition Classes
- TextFragmentNode → BlockStatementNode
-
def
merge(that: TextFragmentNode): TextFragmentNode
Merges two text fragments, creating a new one with a text which is the union of the texts of the two.
-
val
modifiers: Seq[Nothing]
- Definition Classes
- TextFragmentNode → 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
- val text: String
-
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( ... )