Packages

c

ch.usi.inf.reveal.parsing.model

TextFragmentNode

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

Linear Supertypes
Serializable, Serializable, JavadocASTNode, MemberDeclarationNode, BlockStatementNode, ASTTerminalNode, JavaASTNode, HASTNode, JsonSerializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TextFragmentNode
  2. Serializable
  3. Serializable
  4. JavadocASTNode
  5. MemberDeclarationNode
  6. BlockStatementNode
  7. ASTTerminalNode
  8. JavaASTNode
  9. HASTNode
  10. JsonSerializable
  11. Product
  12. Equals
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TextFragmentNode(text: String)

    constructs a new text fragment node

    constructs a new text fragment node

    text

    the text of the fragment

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. lazy val annotations: Seq[AnnotationNode]

    The annotations for this member.

    The annotations for this member.

    Definition Classes
    MemberDeclarationNode
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. 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
    TextFragmentNodeBlockStatementNode
  7. 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
    TextFragmentNodeMemberDeclarationNode
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val comments: Seq[Nothing]
    Definition Classes
    TextFragmentNodeASTTerminalNode
  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. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. lazy val keywordModifiers: Seq[KeywordModifierNode]

    The keyword modifiers for this member.

    The keyword modifiers for this member.

    Definition Classes
    MemberDeclarationNode
  15. val labels: Seq[LabelNode]
    Definition Classes
    TextFragmentNodeBlockStatementNode
  16. 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.

  17. val modifiers: Seq[Nothing]
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. val text: String
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from JavadocASTNode

Inherited from MemberDeclarationNode

Inherited from BlockStatementNode

Inherited from ASTTerminalNode

Inherited from JavaASTNode

Inherited from HASTNode

Inherited from JsonSerializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped