scala
.
reflect
.
internal
.
show
.
Printers
TreePrinter
Related Doc:
package Printers
class
TreePrinter
extends
AnyRef
Linear Supertypes
AnyRef
,
Any
Known Subclasses
CodePrinter
Ordering
Alphabetic
By inheritance
Inherited
TreePrinter
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
TreePrinter
(
out:
PrintWriter
)
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
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
comment
(
body: ⇒
Unit
)
:
Unit
Attributes
protected
val
commentsRequired
:
Boolean
Attributes
protected
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]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
indent
()
:
Unit
var
indentMargin
:
Int
Attributes
protected
val
indentStep
:
Int
Attributes
protected
var
indentString
:
String
Attributes
protected
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
parenthesize
(
condition:
Boolean
=
true
,
open:
String
=
"("
,
close:
String
=
")"
)
(
body: ⇒
Unit
)
:
Unit
Attributes
protected
def
print
(
args:
Any
*
)
:
Unit
def
printAnnotations
(
tree:
tools.nsc.Global.MemberDef
)
:
Unit
def
printBlock
(
stats:
List
[
tools.nsc.Global.Tree
]
,
expr:
tools.nsc.Global.Tree
)
:
Unit
Attributes
protected
def
printBlock
(
tree:
tools.nsc.Global.Tree
)
:
Unit
def
printCaseDef
(
tree:
tools.nsc.Global.CaseDef
)
:
Unit
Attributes
protected
def
printColumn
(
ts:
List
[
tools.nsc.Global.Tree
]
,
start:
String
,
sep:
String
,
end:
String
)
:
Unit
def
printDefDef
(
tree:
tools.nsc.Global.DefDef
,
resultName: ⇒
String
)
(
printTypeSignature: ⇒
Unit
)
(
printRhs: ⇒
Unit
)
:
Unit
Attributes
protected
def
printFlags
(
flags:
Long
,
privateWithin:
String
)
:
Unit
def
printFunction
(
tree:
tools.nsc.Global.Function
)
(
printValueParams: ⇒
Unit
)
:
Unit
Attributes
protected
var
printIds
:
Boolean
Attributes
protected
def
printImplicitInParamsList
(
vds:
List
[
tools.nsc.Global.ValDef
]
)
:
Unit
Attributes
protected
def
printImport
(
tree:
tools.nsc.Global.Import
,
resSelect: ⇒
String
)
:
Unit
Attributes
protected
var
printKinds
:
Boolean
Attributes
protected
def
printLabelParam
(
p:
tools.nsc.Global.Ident
)
:
Unit
def
printLabelParams
(
ps:
List
[
tools.nsc.Global.Ident
]
)
:
Unit
var
printMirrors
:
Boolean
Attributes
protected
def
printModifiers
(
tree:
tools.nsc.Global.Tree
,
mods:
tools.nsc.Global.Modifiers
)
:
Unit
def
printOpt
(
prefix:
String
,
tree:
tools.nsc.Global.Tree
)
:
Unit
var
printOwners
:
Boolean
Attributes
protected
def
printPackageDef
(
tree:
tools.nsc.Global.PackageDef
,
separator:
String
)
:
Unit
Attributes
protected
def
printParam
(
tree:
tools.nsc.Global.Tree
)
:
Unit
def
printPosition
(
tree:
tools.nsc.Global.Tree
)
:
Unit
var
printPositions
:
Boolean
Attributes
protected
def
printRow
(
ts:
List
[
tools.nsc.Global.Tree
]
,
sep:
String
)
:
Unit
def
printRow
(
ts:
List
[
tools.nsc.Global.Tree
]
,
start:
String
,
sep:
String
,
end:
String
)
:
Unit
def
printSeq
[
a
]
(
ls:
List
[
a
]
)
(
printelem: (
a
) ⇒
Unit
)
(
printsep: ⇒
Unit
)
:
Unit
def
printSuper
(
tree:
tools.nsc.Global.Super
,
resultName: ⇒
String
,
checkSymbol:
Boolean
=
true
)
:
Unit
Attributes
protected
def
printThis
(
tree:
tools.nsc.Global.This
,
resultName: ⇒
String
)
:
Unit
Attributes
protected
def
printTree
(
tree:
tools.nsc.Global.Tree
)
:
Unit
def
printTypeDef
(
tree:
tools.nsc.Global.TypeDef
,
resultName: ⇒
String
)
:
Unit
Attributes
protected
def
printTypeParams
(
ts:
List
[
tools.nsc.Global.TypeDef
]
)
:
Unit
var
printTypes
:
Boolean
Attributes
protected
def
printTypesInfo
(
tree:
tools.nsc.Global.Tree
)
:
Unit
Attributes
protected
def
printValDef
(
tree:
tools.nsc.Global.ValDef
,
resultName: ⇒
String
)
(
printTypeSignature: ⇒
Unit
)
(
printRhs: ⇒
Unit
)
:
Unit
Attributes
protected
def
printValueParams
(
ts:
List
[
tools.nsc.Global.ValDef
]
,
inParentheses:
Boolean
=
true
)
:
Unit
def
println
()
:
Unit
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
undent
()
:
Unit
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
(
...
)
def
withIds
:
TreePrinter
.this.type
def
withKinds
:
TreePrinter
.this.type
def
withMirrors
:
TreePrinter
.this.type
def
withOwners
:
TreePrinter
.this.type
def
withPositions
:
TreePrinter
.this.type
def
withTypes
:
TreePrinter
.this.type
def
withoutIds
:
TreePrinter
.this.type
def
withoutKinds
:
TreePrinter
.this.type
def
withoutMirrors
:
TreePrinter
.this.type
def
withoutOwners
:
TreePrinter
.this.type
def
withoutPositions
:
TreePrinter
.this.type
def
withoutTypes
:
TreePrinter
.this.type
Inherited from
AnyRef
Inherited from
Any
Ungrouped