object
TreeOps
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
-
final
def
asInstanceOf[T0]: T0
-
def
assertValidParens(open: Token, close: Token): Unit
-
def
childOf(tok: Token, tree: Tree, owners: Map[TokenHash, Tree]): Boolean
-
final
def
childOf(child: Tree, tree: Tree): Boolean
-
def
clone(): AnyRef
-
def
defBody(tree: Tree): Option[Tree]
-
def
defDefReturnType(tree: Tree): Option[Type]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
existsChild(f: (Tree) ⇒ Boolean)(tree: Tree): Boolean
-
def
extractStatementsIfAny(tree: Tree): Seq[Tree]
-
def
finalize(): Unit
-
def
findSiblingGuard(generator: Generator): Option[Guard]
-
def
getApplyArgs(formatToken: FormatToken, leftOwner: Tree): (Tree, Seq[Tree])
-
def
getAssignAtSingleArgCallSite(tree: Tree): Option[Assign]
-
final
def
getClass(): Class[_]
-
def
getDequeueSpots(tree: Tree): Set[TokenHash]
-
def
getEnumStatements(enums: Seq[Enumerator]): Seq[Enumerator]
-
def
getLambdaAtSingleArgCallSite(tree: Tree): Option[Function]
-
def
getMatchingParentheses(tokens: Tokens): Map[TokenHash, Token]
-
def
getOwners(tree: Tree): Map[TokenHash, Tree]
-
final
def
getSelectChain(child: Tree, accum: Vector[Select]): Vector[Select]
-
def
getStatementStarts(tree: Tree): Map[TokenHash, Tree]
-
def
hashCode(): Int
-
final
def
isApplyInfix(op: Ident, owner: Tree): Boolean
-
def
isBinPackDefnSite(tree: Tree): Boolean
-
def
isBlockFunction(fun: Function): Boolean
-
def
isCallSite(tree: Tree): Boolean
-
def
isChainApplyParent(parent: Tree, child: Tree): Boolean
-
def
isDefDef(tree: Tree): Boolean
-
def
isDefnOrCallSite(tree: Tree): Boolean
-
def
isDefnSite(tree: Tree): Boolean
-
def
isDefnSiteWithParams(tree: Tree): Boolean
-
def
isFirstOrLastToken(token: Token, owner: Tree): Boolean
-
def
isImporterOrDefnOrCallSite(tree: Tree): Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
def
isModPrivateProtected(tree: Tree): Boolean
-
def
isProcedureSyntax(defn: Def): Boolean
-
def
isSuperfluousParenthesis(open: Token, owner: Tree): Boolean
-
def
isTopLevel(tree: Tree): Boolean
-
final
def
isTopLevelInfixApplication(child: Tree): Boolean
-
def
isTuple(tree: Tree): Boolean
-
def
isTypeVariant(tree: Tree): Boolean
-
def
isXmlBrace(owner: Tree): Boolean
-
final
def
lastLambda(first: Function): Function
-
final
def
ne(arg0: AnyRef): Boolean
-
def
nestedApplies(tree: Tree): Int
-
def
nestedSelect(tree: Tree): Int
-
def
noSpaceBeforeOpeningParen(tree: Tree): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
parents(tree: Tree, accum: Seq[Tree] = Seq.empty[Tree]): Seq[Tree]
-
val
splitApplyIntoLhsAndArgs: PartialFunction[Tree, (Tree, Seq[Tree])]
-
val
splitApplyIntoLhsAndArgsLifted: (Tree) ⇒ Option[(Tree, Seq[Tree])]
-
def
startsSelectChain(tree: Tree): Boolean
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
topTypeWith(typeWith: With): With
-
def
treeDepth(tree: Tree): Int
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
withChain(top: Tree): Seq[With]
Stateless helper functions on scala.meta.Tree.