|
| 1 | +// SYNTAX TEST "source.scala" |
| 2 | + |
| 3 | + import |
| 4 | +// ^^^^^^ meta.import.scala keyword.other.import.scala |
| 5 | + |
| 6 | + |
| 7 | + import a.x |
| 8 | +// ^^^^^^ meta.import.scala keyword.other.import.scala |
| 9 | +// ^ meta.import.scala |
| 10 | +// ^ meta.import.scala entity.name.import.scala |
| 11 | +// ^ meta.import.scala punctuation.definition.import |
| 12 | +// ^ meta.import.scala entity.name.import.scala |
| 13 | + |
| 14 | + import a._ |
| 15 | +// ^^^^^^ meta.import.scala keyword.other.import.scala |
| 16 | +// ^ meta.import.scala |
| 17 | +// ^ meta.import.scala entity.name.import.scala |
| 18 | +// ^ meta.import.scala punctuation.definition.import |
| 19 | +// ^ meta.import.scala entity.name.import.scala |
| 20 | + |
| 21 | + import a.{x, y} |
| 22 | +// ^^^^^^ meta.import.scala keyword.other.import.scala |
| 23 | +// ^ meta.import.scala |
| 24 | +// ^ meta.import.scala entity.name.import.scala |
| 25 | +// ^ meta.import.scala punctuation.definition.import |
| 26 | +// ^ meta.import.scala meta.import.selector.scala meta.bracket.scala |
| 27 | +// ^ meta.import.scala entity.name.import.scala |
| 28 | +// ^^ meta.import.scala meta.import.selector.scala |
| 29 | +// ^ meta.import.scala meta.import.selector.scala entity.name.import.scala |
| 30 | +// ^ meta.import.scala meta.import.selector.scala meta.bracket.scala |
| 31 | + |
| 32 | + import a.{x => y} |
| 33 | +// ^^^^^^ meta.import.scala keyword.other.import.scala |
| 34 | +// ^ meta.import.scala |
| 35 | +// ^ meta.import.scala entity.name.import.scala |
| 36 | +// ^ meta.import.scala punctuation.definition.import |
| 37 | +// ^ meta.import.scala meta.import.selector.scala meta.bracket.scala |
| 38 | +// ^ meta.import.scala meta.import.selector.scala entity.name.import.renamed-from.scala |
| 39 | +// ^ meta.import.scala meta.import.selector.scala |
| 40 | +// ^^ meta.import.scala meta.import.selector.scala |
| 41 | +// ^ meta.import.scala meta.import.selector.scala |
| 42 | +// ^ meta.import.scala meta.import.selector.scala entity.name.import.renamed-to.scala |
| 43 | +// ^ meta.import.scala meta.import.selector.scala meta.bracket.scala |
| 44 | + |
| 45 | + import a.{given _} |
| 46 | +// ^^^^^^ meta.import.scala keyword.other.import.scala |
| 47 | +// ^ meta.import.scala |
| 48 | +// ^ meta.import.scala entity.name.import.scala |
| 49 | +// ^ meta.import.scala punctuation.definition.import |
| 50 | +// ^ meta.import.scala meta.import.selector.scala meta.bracket.scala |
| 51 | +// ^^^^^ meta.import.scala keyword.given.import.scala |
| 52 | +// ^ meta.import.scala meta.import.selector.scala |
| 53 | +// ^ meta.import.scala entity.name.import.scala |
| 54 | +// ^ meta.import.scala meta.import.selector.scala |
| 55 | + |
| 56 | + import A.{given TC} |
| 57 | +// ^^^^^^ meta.import.scala keyword.other.import.scala |
| 58 | +// ^ meta.import.scala |
| 59 | +// ^ meta.import.scala entity.name.import.scala |
| 60 | +// ^ meta.import.scala punctuation.definition.import |
| 61 | +// ^ meta.import.scala meta.import.selector.scala meta.bracket.scala |
| 62 | +// ^^^^^ meta.import.scala keyword.given.import.scala |
| 63 | +// ^ meta.import.scala meta.import.selector.scala |
| 64 | +// ^^ meta.import.scala entity.name.import.scala |
| 65 | +// ^ meta.import.scala meta.import.selector.scala |
0 commit comments