org
.
bitbucket
.
inkytonik
.
kiama
.
rewriting
RewriterCoreMacros
Related Doc:
package rewriting
object
RewriterCoreMacros
Source
RewriterCoreMacros.scala
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
RewriterCoreMacros
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
allMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
allbuMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
alldownup2Macro
(
c:
Context
)
(
s1:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
s2:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
alltdMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
alltdfoldMacro
(
c:
Context
)
(
s1:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
s2:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
andMacro
(
c:
Context
)
(
s1:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
s2:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
attemptMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
bottomupMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
bottomupSMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
stop:
scala.reflect.macros.blackbox.Context.Expr
[(⇒
Strategy
) ⇒
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
breadthfirstMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
buildMacro
(
c:
Context
)
(
t:
scala.reflect.macros.blackbox.Context.Expr
[
Any
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
childMacro
(
c:
Context
)
(
i:
scala.reflect.macros.blackbox.Context.Expr
[
Int
]
,
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
collectMacro
[
CC
[
X
]
<:
Traversable
[
X
]
,
U
]
(
c:
Context
)
(
f:
scala.reflect.macros.blackbox.Context.Expr
[
==>
[
Any
,
U
]]
)
(
cbf:
scala.reflect.macros.blackbox.Context.Expr
[
CanBuildFrom
[
CC
[
Any
],
U
,
CC
[
U
]]]
)
:
scala.reflect.macros.blackbox.Context.Expr
[(
Any
) ⇒
CC
[
U
]]
def
collectallMacro
[
CC
[
X
]
<:
Traversable
[
X
]
,
U
]
(
c:
Context
)
(
f:
scala.reflect.macros.blackbox.Context.Expr
[
==>
[
Any
,
CC
[
U
]]]
)
(
cbf:
scala.reflect.macros.blackbox.Context.Expr
[
CanBuildFrom
[
CC
[
Any
],
U
,
CC
[
U
]]]
)
:
scala.reflect.macros.blackbox.Context.Expr
[(
Any
) ⇒
CC
[
U
]]
def
condMacro
(
c:
Context
)
(
lr:
scala.reflect.macros.blackbox.Context.Expr
[
PlusStrategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
congruenceMacro
(
c:
Context
)
(
ss:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]*
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
countMacro
(
c:
Context
)
(
f:
scala.reflect.macros.blackbox.Context.Expr
[
==>
[
Any
,
Int
]]
)
:
scala.reflect.macros.blackbox.Context.Expr
[(
Any
) ⇒
Int
]
def
debugMacro
(
c:
Context
)
(
msg:
scala.reflect.macros.blackbox.Context.Expr
[
String
]
,
emitter:
scala.reflect.macros.blackbox.Context.Expr
[
Emitter
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
detchoiceMacro
(
c:
Context
)
(
q:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
doloopMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
r:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
downupMacro1
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
downupMacro2
(
c:
Context
)
(
s1:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
s2:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
downupSMacro1
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
stop:
scala.reflect.macros.blackbox.Context.Expr
[(⇒
Strategy
) ⇒
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
downupSMacro2
(
c:
Context
)
(
s1:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
s2:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
stop:
scala.reflect.macros.blackbox.Context.Expr
[(⇒
Strategy
) ⇒
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
everythingMacro
[
T
]
(
c:
Context
)
(
v:
scala.reflect.macros.blackbox.Context.Expr
[
T
]
)
(
f:
scala.reflect.macros.blackbox.Context.Expr
[(
T
,
T
) ⇒
T
]
)
(
g:
scala.reflect.macros.blackbox.Context.Expr
[
==>
[
Any
,
T
]]
)
(
t:
scala.reflect.macros.blackbox.Context.Expr
[
Any
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
T
]
def
everywhereMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
everywherebuMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
everywheretdMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
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
innermost2Macro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
innermostMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
iorMacro
(
c:
Context
)
(
s1:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
s2:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
lastlyMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
f:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
leavesMacro1
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
isleaf:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
leavesMacro2
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
isleaf:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
skip:
scala.reflect.macros.blackbox.Context.Expr
[(
Strategy
) ⇒
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
logMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
msg:
scala.reflect.macros.blackbox.Context.Expr
[
String
]
,
emitter:
scala.reflect.macros.blackbox.Context.Expr
[
Emitter
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
logfailMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
msg:
scala.reflect.macros.blackbox.Context.Expr
[
String
]
,
emitter:
scala.reflect.macros.blackbox.Context.Expr
[
Emitter
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
loopMacro
(
c:
Context
)
(
r:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
loopiterMacro1
(
c:
Context
)
(
i:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
r:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
loopiterMacro2
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[(
Int
) ⇒
Strategy
]
,
low:
scala.reflect.macros.blackbox.Context.Expr
[
Int
]
,
high:
scala.reflect.macros.blackbox.Context.Expr
[
Int
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
loopnotMacro
(
c:
Context
)
(
r:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
manybuMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
manytdMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
mapMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
memoMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
nondetchoiceMacro
(
c:
Context
)
(
q:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
PlusStrategy
]
def
notMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
oncebuMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
oncetdMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
oneMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
optionMacro
(
c:
Context
)
(
o:
scala.reflect.macros.blackbox.Context.Expr
[
Option
[
Any
]]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
orMacro
(
c:
Context
)
(
s1:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
s2:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
outermostMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
queryMacro
[
T
]
(
c:
Context
)
(
f:
scala.reflect.macros.blackbox.Context.Expr
[
==>
[
T
,
Unit
]]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
queryfMacro
(
c:
Context
)
(
f:
scala.reflect.macros.blackbox.Context.Expr
[(
Any
) ⇒
Unit
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
reduceMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
repeat1Macro1
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
repeat1Macro2
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
r:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
repeatMacro1
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
repeatMacro2
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
r:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
repeatMacro3
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
n:
scala.reflect.macros.blackbox.Context.Expr
[
Int
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
repeatuntilMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
r:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
restoreAlwaysMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
rest:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
restoreMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
rest:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
ruleMacro
[
T
]
(
c:
Context
)
(
f:
scala.reflect.macros.blackbox.Context.Expr
[
==>
[
T
,
T
]]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
rulefMacro
(
c:
Context
)
(
f:
scala.reflect.macros.blackbox.Context.Expr
[(
Any
) ⇒
Any
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
rulefsMacro
[
T
]
(
c:
Context
)
(
f:
scala.reflect.macros.blackbox.Context.Expr
[
==>
[
T
,
Strategy
]]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
seqMacro
(
c:
Context
)
(
q:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
someMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
somebuMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
somedownupMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
sometdMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
strategyMacro
[
T
]
(
c:
Context
)
(
f:
scala.reflect.macros.blackbox.Context.Expr
[
==>
[
T
,
Option
[
T
]]]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
strategyfMacro
(
c:
Context
)
(
f:
scala.reflect.macros.blackbox.Context.Expr
[(
Any
) ⇒
Option
[
Any
]]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
termMacro
[
T
]
(
c:
Context
)
(
t:
scala.reflect.macros.blackbox.Context.Expr
[
T
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
testMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
topdownMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
def
topdownSMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
,
stop:
scala.reflect.macros.blackbox.Context.Expr
[(⇒
Strategy
) ⇒
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
val
used
:
Int
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
whereMacro
(
c:
Context
)
(
s:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
)
:
scala.reflect.macros.blackbox.Context.Expr
[
Strategy
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped