@@ -12,7 +12,6 @@ import scala.reflect.TypeTest
12
12
* ...
13
13
* }
14
14
* ```
15
- * @syntax markdown
16
15
*/
17
16
transparent inline def quotes (using inline q : Quotes ): q.type = q
18
17
@@ -36,7 +35,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
36
35
* case '{...} => true // where the contents of the pattern are the contents of `that`
37
36
* case _ => false
38
37
* ```
39
- * @syntax markdown
40
38
*/
41
39
def matches (that : Expr [Any ]): Boolean
42
40
@@ -97,7 +95,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
97
95
*
98
96
* See `reflectModule` for full API.
99
97
*
100
- * @syntax markdown
101
98
*/
102
99
val reflect : reflectModule
103
100
@@ -316,7 +313,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
316
313
* package foo.bar
317
314
* // package stats
318
315
* ```
319
- * @syntax markdown
320
316
*/
321
317
type PackageClause <: Tree
322
318
@@ -490,7 +486,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
490
486
* ???
491
487
* }
492
488
* ```
493
- * @syntax markdown
494
489
*/
495
490
def self : Option [ValDef ]
496
491
/** Statements within the class
@@ -500,7 +495,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
500
495
* ??? // statements
501
496
* }
502
497
* ```
503
- * @syntax markdown
504
498
*/
505
499
def body : List [Statement ]
506
500
end extension
@@ -553,7 +547,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
553
547
* //}
554
548
* extension (a: A) def f[T]() = ???
555
549
* ```
556
- * @syntax markdown
557
550
*/
558
551
def leadingTypeParams : List [TypeDef ]
559
552
@@ -568,7 +561,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
568
561
* //}
569
562
* extension (a: A) def f[T]() = ???
570
563
* ```
571
- * @syntax markdown
572
564
*/
573
565
def trailingParamss : List [ParamClause ]
574
566
@@ -622,7 +614,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
622
614
* }
623
615
* }
624
616
* ```
625
- * @syntax markdown
626
617
*/
627
618
def let (owner : Symbol , name : String , rhs : Term )(body : Ref => Term ): Term
628
619
@@ -636,7 +627,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
636
627
* }
637
628
* }
638
629
* ```
639
- * @syntax markdown
640
630
*/
641
631
def let (owner : Symbol , rhs : Term )(body : Ref => Term ): Term =
642
632
let(owner, " x" , rhs)(body)
@@ -649,7 +639,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
649
639
* ...
650
640
* }
651
641
* ```
652
- * @syntax markdown
653
642
*/
654
643
def let (owner : Symbol , terms : List [Term ])(body : List [Ref ] => Term ): Term
655
644
}
@@ -1088,7 +1077,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
1088
1077
* ```
1089
1078
* - `fun` is `f(1)` in the `Apply` of `f(1)(2)`
1090
1079
* - `fun` is `f` in the `Apply` of `f(1)`
1091
- * @syntax markdown
1092
1080
*/
1093
1081
def fun : Term
1094
1082
/** The arguments (implicitly) passed to the method
@@ -1100,7 +1088,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
1100
1088
* ```
1101
1089
* - `args` is `(2)` in the `Apply` of `f(1)(2)`
1102
1090
* - `args` is `(1)` in the `Apply` of `f(1)`
1103
- * @syntax markdown
1104
1091
*/
1105
1092
def args : List [Term ]
1106
1093
end extension
@@ -1149,7 +1136,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
1149
1136
* // f(1)[Int](2)
1150
1137
* ```
1151
1138
* - `fun` is `f(1)` in the `TypeApply` of `f(1)[Int]`
1152
- * @syntax markdown
1153
1139
*/
1154
1140
def fun : Term
1155
1141
/** The (inferred) type arguments passed to the method
@@ -1168,7 +1154,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
1168
1154
* // f(1)[Int](2)
1169
1155
* ```
1170
1156
* - `fun` is `[Int]` in the `TypeApply` of `f(1)[Int]`
1171
- * @syntax markdown
1172
1157
*/
1173
1158
def args : List [TypeTree ]
1174
1159
end extension
@@ -1357,7 +1342,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
1357
1342
* @note Due to the encoding, in pattern matches the case for `Lambda`
1358
1343
* should come before the case for `Block` to avoid mishandling
1359
1344
* of `Lambda`.
1360
- * @syntax markdown
1361
1345
*/
1362
1346
val Lambda : LambdaModule
1363
1347
@@ -1368,7 +1352,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
1368
1352
* Block((DefDef(_, _, params :: Nil, _, Some(body))) :: Nil, Closure(meth, _))
1369
1353
* ```
1370
1354
* Extracts the parameter definitions and body.
1371
- * @syntax markdown
1372
1355
*/
1373
1356
def unapply (tree : Block ): Option [(List [ValDef ], Term )]
1374
1357
@@ -1401,7 +1384,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
1401
1384
* @param owner: owner of the generated `meth` symbol
1402
1385
* @param tpe: Type of the definition
1403
1386
* @param rhsFn: Function that receives the `meth` symbol and the a list of references to the `params`
1404
- * @syntax markdown
1405
1387
*/
1406
1388
def apply (owner : Symbol , tpe : MethodType , rhsFn : (Symbol , List [Tree ]) => Tree ): Block
1407
1389
}
@@ -2305,7 +2287,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
2305
2287
* case TypeParamClause(params: List[TypeDef])
2306
2288
* case TermParamClause(params: List[ValDef])
2307
2289
* ```
2308
- * @syntax markdown
2309
2290
*/
2310
2291
type ParamClause <: AnyRef
2311
2292
@@ -2548,7 +2529,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
2548
2529
* }
2549
2530
* //}
2550
2531
* ```
2551
- * @syntax markdown
2552
2532
*/
2553
2533
def asType : Type [? ]
2554
2534
@@ -2941,7 +2921,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
2941
2921
* ```scala
2942
2922
* def foo: Int = ???
2943
2923
* ```
2944
- * @syntax markdown
2945
2924
*/
2946
2925
type ByNameType <: TypeRepr
2947
2926
@@ -3581,7 +3560,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
3581
3560
* ```
3582
3561
*
3583
3562
* For a macro splice, it is the symbol of the definition where the macro expansion happens.
3584
- * @syntax markdown
3585
3563
*/
3586
3564
def spliceOwner : Symbol
3587
3565
@@ -3898,7 +3876,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
3898
3876
* // No need to use `changeOwner` in this case.
3899
3877
* '{ val x = ???; x }.asTerm
3900
3878
* ```
3901
- * @syntax markdown
3902
3879
*/
3903
3880
@ experimental
3904
3881
def asQuotes : Nested
@@ -4458,7 +4435,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
4458
4435
* def foldTree(x: X, tree: Tree)(owner: Symbol): X = ???
4459
4436
* }
4460
4437
* ```
4461
- * @syntax markdown
4462
4438
*/
4463
4439
trait TreeAccumulator [X ]:
4464
4440
@@ -4563,7 +4539,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
4563
4539
* override def traverseTree(tree: Tree)(owner: Symbol): Unit = ???
4564
4540
* }
4565
4541
* ```
4566
- * @syntax markdown
4567
4542
*/
4568
4543
trait TreeTraverser extends TreeAccumulator [Unit ]:
4569
4544
@@ -4586,7 +4561,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
4586
4561
*
4587
4562
* Use `Symbol.asQuotes` to create quotes with the correct owner within the TreeMap.
4588
4563
*
4589
- * @syntax markdown
4590
4564
*/
4591
4565
trait TreeMap :
4592
4566
0 commit comments