scala
.
tools
.
refactoring
.
sourcegen
.
TreePrintingTraversals
TreePrinting
Related Doc:
package TreePrintingTraversals
trait
TreePrinting
extends
AnyRef
Self Type
(
TreePrintingTraversals
.this)#
TreePrinting
Linear Supertypes
AnyRef
,
Any
Known Subclasses
prettyPrinter
,
reusingPrinter
Ordering
Alphabetic
By inheritance
Inherited
TreePrinting
AnyRef
Any
Hide All
Show all
Visibility
Public
All
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
def
Alternative
(
tree:
nsc.Global.Alternative
,
trees:
List
[
nsc.Global.Tree
]
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
Annotated
(
tree:
nsc.Global.Annotated
,
annot:
nsc.Global.Tree
,
arg:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
AppliedTypeTree
(
tree:
nsc.Global.AppliedTypeTree
,
tpt:
nsc.Global.Tree
,
args:
List
[
nsc.Global.Tree
]
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
Apply
(
tree:
nsc.Global.Apply
,
fun:
nsc.Global.Tree
,
args:
List
[
nsc.Global.Tree
]
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
ApplyDynamic
(
tree:
nsc.Global.ApplyDynamic
,
qual:
nsc.Global.Tree
,
args:
List
[
nsc.Global.Tree
]
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
ArrayValue
(
tree:
nsc.Global.ArrayValue
,
elemtpt:
nsc.Global.Tree
,
trees:
List
[
nsc.Global.Tree
]
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
Assign
(
tree:
nsc.Global.Assign
,
lhs:
nsc.Global.Tree
,
rhs:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
AssignOrNamedArg
(
tree:
nsc.Global.AssignOrNamedArg
,
lhs:
nsc.Global.Tree
,
rhs:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
Bind
(
tree:
nsc.Global.Bind
,
name:
nsc.Global.Name
,
body:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
Block
(
tree:
nsc.Global.Block
,
stats:
List
[
nsc.Global.Tree
]
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
CaseDef
(
tree:
nsc.Global.CaseDef
,
pat:
nsc.Global.Tree
,
guard:
nsc.Global.Tree
,
body:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
ClassDef
(
tree:
nsc.Global.ClassDef
,
mods:
List
[(
TreePrintingTraversals
.this)#
ModifierTree
]
,
name:
nsc.Global.Name
,
tparams:
List
[
nsc.Global.Tree
]
,
impl:
nsc.Global.Template
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
CompoundTypeTree
(
tree:
nsc.Global.CompoundTypeTree
,
tpl:
nsc.Global.Template
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
DefDef
(
tree:
nsc.Global.DefDef
,
mods:
List
[(
TreePrintingTraversals
.this)#
ModifierTree
]
,
name:
nsc.Global.Name
,
tparams:
List
[
nsc.Global.Tree
]
,
vparamss:
List
[
List
[
nsc.Global.ValDef
]]
,
tpt:
nsc.Global.Tree
,
rhs:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
DocDef
(
tree:
nsc.Global.DocDef
,
comment:
nsc.Global.DocComment
,
definition:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
ExistentialTypeTree
(
tree:
nsc.Global.ExistentialTypeTree
,
tpt:
nsc.Global.Tree
,
whereClauses:
List
[
nsc.Global.Tree
]
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
Function
(
tree:
nsc.Global.Function
,
vparams:
List
[
nsc.Global.ValDef
]
,
body:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
Ident
(
tree:
nsc.Global.Ident
,
name:
nsc.Global.Name
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
If
(
tree:
nsc.Global.If
,
cond:
nsc.Global.Tree
,
thenp:
nsc.Global.Tree
,
elsep:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
Import
(
tree:
nsc.Global.Import
,
expr:
nsc.Global.Tree
,
selectors:
List
[(
TreePrintingTraversals
.this)#
ImportSelectorTree
]
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
ImportSelectorTree
(
tree: (
TreePrintingTraversals
.this)#
ImportSelectorTree
,
name: (
TreePrintingTraversals
.this)#
NameTree
,
rename:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
LabelDef
(
tree:
nsc.Global.LabelDef
,
name:
nsc.Global.Name
,
params:
List
[
nsc.Global.Tree
]
,
rhs:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
Literal
(
tree:
nsc.Global.Literal
,
value:
nsc.Global.Constant
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
Match
(
tree:
nsc.Global.Match
,
selector:
nsc.Global.Tree
,
cases:
List
[
nsc.Global.Tree
]
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
ModifierTree
(
tree: (
TreePrintingTraversals
.this)#
ModifierTree
,
flag:
Long
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
ModuleDef
(
tree:
nsc.Global.ModuleDef
,
mods:
List
[(
TreePrintingTraversals
.this)#
ModifierTree
]
,
name:
nsc.Global.Name
,
impl:
nsc.Global.Template
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
MultipleAssignment
(
tree: (
TreePrintingTraversals
.this)#
MultipleAssignment
,
extractor:
nsc.Global.Tree
,
values:
List
[
nsc.Global.ValDef
]
,
rhs:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
NameTree
(
tree:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
NamedArgument
(
tree:
nsc.Global.Tree
,
name: (
TreePrintingTraversals
.this)#
NameTree
,
rhs:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
New
(
tree:
nsc.Global.New
,
tpt:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
PackageDef
(
tree:
nsc.Global.PackageDef
,
pid:
nsc.Global.RefTree
,
stats:
List
[
nsc.Global.Tree
]
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
Return
(
tree:
nsc.Global.Return
,
expr:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
Select
(
tree:
nsc.Global.Select
,
qualifier:
nsc.Global.Tree
,
selector:
nsc.Global.Name
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
SelectFromArray
(
tree:
nsc.Global.SelectFromArray
,
qualifier:
nsc.Global.Tree
,
selector:
nsc.Global.Name
,
erasure:
nsc.Global.Type
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
SelectFromTypeTree
(
tree:
nsc.Global.SelectFromTypeTree
,
qualifier:
nsc.Global.Tree
,
selector:
nsc.Global.Name
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
SelfTypeTree
(
tree: (
TreePrintingTraversals
.this)#
SelfTypeTree
,
name: (
TreePrintingTraversals
.this)#
NameTree
,
tpt:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
SingletonTypeTree
(
tree:
nsc.Global.SingletonTypeTree
,
ref:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
SourceLayoutTree
(
tree: (
TreePrintingTraversals
.this)#
SourceLayoutTree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
Star
(
tree:
nsc.Global.Star
,
elem:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
Super
(
tree:
nsc.Global.Super
,
qual:
nsc.Global.Tree
,
mix:
nsc.Global.Name
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
SuperConstructorCall
(
tree: (
TreePrintingTraversals
.this)#
SuperConstructorCall
,
clazz:
nsc.Global.Tree
,
args:
List
[
nsc.Global.Tree
]
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
Template
(
tree:
nsc.Global.Template
,
parents:
List
[
nsc.Global.Tree
]
,
self:
nsc.Global.Tree
,
body:
List
[
nsc.Global.Tree
]
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
This
(
tree:
nsc.Global.This
,
qual:
nsc.Global.Name
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
Throw
(
tree:
nsc.Global.Throw
,
expr:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
Try
(
tree:
nsc.Global.Try
,
block:
nsc.Global.Tree
,
catches:
List
[
nsc.Global.Tree
]
,
finalizer:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
TypeApply
(
tree:
nsc.Global.TypeApply
,
fun:
nsc.Global.Tree
,
args:
List
[
nsc.Global.Tree
]
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
TypeBoundsTree
(
tree:
nsc.Global.TypeBoundsTree
,
lo:
nsc.Global.Tree
,
hi:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
TypeDef
(
tree:
nsc.Global.TypeDef
,
mods:
List
[(
TreePrintingTraversals
.this)#
ModifierTree
]
,
name:
nsc.Global.Name
,
tparams:
List
[
nsc.Global.Tree
]
,
rhs:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
TypeTree
(
tree:
nsc.Global.TypeTree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
Typed
(
tree:
nsc.Global.Typed
,
expr:
nsc.Global.Tree
,
tpt:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
UnApply
(
tree:
nsc.Global.UnApply
,
fun:
nsc.Global.Tree
,
args:
List
[
nsc.Global.Tree
]
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
ValDef
(
tree:
nsc.Global.ValDef
,
mods:
List
[(
TreePrintingTraversals
.this)#
ModifierTree
]
,
name:
nsc.Global.Name
,
tpt:
nsc.Global.Tree
,
rhs:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
default
(
t:
nsc.Global.Tree
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
dispatchToPrinter
(
t:
nsc.Global.Tree
,
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
getChildrenIndentation
(
parent:
nsc.Global.Tree
,
t:
nsc.Global.Tree
)
:
Option
[
String
]
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
p
(
tree:
nsc.Global.Tree
,
before:
Requisite
=
NoRequisite
,
after:
Requisite
=
NoRequisite
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
pi
(
tree:
nsc.Global.Tree
,
before:
Requisite
=
NoRequisite
,
after:
Requisite
=
NoRequisite
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
pp
(
trees:
List
[
nsc.Global.Tree
]
,
separator:
Requisite
=
NoRequisite
,
before:
Requisite
=
NoRequisite
,
after:
Requisite
=
NoRequisite
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
ppi
(
trees:
List
[
nsc.Global.Tree
]
,
before:
Requisite
=
NoRequisite
,
separator:
Requisite
=
NoRequisite
,
after:
Requisite
=
NoRequisite
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
printIndentedManyTrees
(
trees:
List
[
nsc.Global.Tree
]
,
separator:
Requisite
,
before:
Requisite
,
after:
Requisite
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
printIndentedSingleTree
(
tree:
nsc.Global.Tree
,
before:
Requisite
,
after:
Requisite
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
printManyTrees
(
trees:
List
[
nsc.Global.Tree
]
,
separator:
Requisite
,
before:
Requisite
,
after:
Requisite
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
def
printSingleTree
(
tree:
nsc.Global.Tree
,
before:
Requisite
,
after:
Requisite
)
(
implicit
ctx: (
TreePrintingTraversals
.this)#
PrintingContext
)
:
Fragment
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
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
(
...
)
Inherited from
AnyRef
Inherited from
Any
Ungrouped