Packages

implicit class AstOp extends AnyRef

An implicit class with convenience methods for collecting information in AST subtrees.

(For information about Scala's implicit classes, see tip.ast.AstNodeData.AstNodeWithDeclaration.)

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AstOp
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AstOp(n: AstNode)

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. def appearingAllocs: Set[AAlloc]

    Returns the set of allocs appearing in the subtree of the node.

  5. def appearingConstants: Set[ANumber]

    Returns the set of constants appearing in the subtree of the node.

  6. def appearingExpressions: Set[AExpr]

    Returns the set of expressions appearing in the subtree of the node.

  7. def appearingFields: Set[String]

    Returns the set of record field names appearing in the subtree of the node.

  8. def appearingIds(implicit declData: DeclarationData): Set[ADeclaration]

    Returns the set of identifiers (represented by their declarations) appearing in the subtree of the node.

  9. def appearingNonInputExpressions: Set[AExpr]

    Returns the set of non-'input' expressions appearing in the subtree of the node.

  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  12. def containsInput: Boolean

    Checks whether the subtree of the node contains an 'input' expression.

  13. def containsInvocation: Boolean

    Checks whether the subtree of the node contains function calls.

  14. def declaredLocals: Set[ADeclaration]

    Returns the set of local variable identifiers declared by the node (excluding function parameters and function identifiers).

  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped