misc/smeta.sc
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 28 Aug 2020 16:54:49 +0100
changeset 341 e9d5287c3107
child 342 aa47abb9e723
permissions -rwxr-xr-x
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
341
e9d5287c3107 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     1
import $ivy.`org.scalameta::scalameta:4.3.21`
e9d5287c3107 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     2
e9d5287c3107 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     3
import scala.meta._
e9d5287c3107 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     4
e9d5287c3107 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     5
println("a + b".parse[Stat].get.structure)
e9d5287c3107 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     6