mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-23 08:48:03 +00:00
36 lines
381 B
Markdown
36 lines
381 B
Markdown
# META
|
|
~~~ini
|
|
description=Empty string literal
|
|
type=expr
|
|
~~~
|
|
# SOURCE
|
|
~~~roc
|
|
""
|
|
~~~
|
|
# EXPECTED
|
|
NIL
|
|
# PROBLEMS
|
|
NIL
|
|
# TOKENS
|
|
~~~zig
|
|
StringStart,StringPart,StringEnd,
|
|
EndOfFile,
|
|
~~~
|
|
# PARSE
|
|
~~~clojure
|
|
(e-string
|
|
(e-string-part (raw "")))
|
|
~~~
|
|
# FORMATTED
|
|
~~~roc
|
|
NO CHANGE
|
|
~~~
|
|
# CANONICALIZE
|
|
~~~clojure
|
|
(e-string
|
|
(e-literal (string "")))
|
|
~~~
|
|
# TYPES
|
|
~~~clojure
|
|
(expr (type "Str"))
|
|
~~~
|