1
0
dust/tree-sitter-dust/corpus/values.txt

160 lines
3.0 KiB
Plaintext
Raw Permalink Normal View History

2023-11-11 01:44:03 +00:00
================================================================================
Booleans
2023-11-11 01:44:03 +00:00
================================================================================
true
false
2023-11-11 01:44:03 +00:00
--------------------------------------------------------------------------------
(root
2023-11-11 01:44:03 +00:00
(statement
2024-02-16 15:55:15 +00:00
(statement_kind
(expression
(value
(boolean)))))
2023-11-11 01:44:03 +00:00
(statement
2024-02-16 15:55:15 +00:00
(statement_kind
(expression
(value
(boolean))))))
2023-11-11 01:44:03 +00:00
================================================================================
Integers
2023-11-11 01:44:03 +00:00
================================================================================
1 2 3
-456 -7
2023-11-11 01:44:03 +00:00
--------------------------------------------------------------------------------
(root
2023-11-11 01:44:03 +00:00
(statement
2024-02-16 15:55:15 +00:00
(statement_kind
(expression
(value
(integer)))))
2023-11-11 01:44:03 +00:00
(statement
2024-02-16 15:55:15 +00:00
(statement_kind
(expression
(value
(integer)))))
2023-11-11 01:44:03 +00:00
(statement
2024-02-16 15:55:15 +00:00
(statement_kind
(expression
(value
(integer)))))
2023-11-11 01:44:03 +00:00
(statement
2024-02-16 15:55:15 +00:00
(statement_kind
(expression
(value
(integer)))))
2023-11-11 01:44:03 +00:00
(statement
2024-02-16 15:55:15 +00:00
(statement_kind
(expression
(value
(integer))))))
================================================================================
Floats
================================================================================
0.0
1.0
666.0
-0.666
NaN
Infinity
infinity
nan
nana
infinity_gauntlet
--------------------------------------------------------------------------------
(root
(statement
2024-02-16 15:55:15 +00:00
(statement_kind
(expression
(value
(float)))))
(statement
(statement_kind
(expression
(value
(float)))))
(statement
(statement_kind
(expression
(value
(float)))))
(statement
(statement_kind
(expression
(value
(float)))))
(statement
(statement_kind
(expression
(value
(float)))))
(statement
(statement_kind
(expression
(value
(float)))))
(statement
(statement_kind
(expression
(value
(float)))))
(statement
(statement_kind
(expression
(value
(float)))))
(statement
(statement_kind
(expression
(identifier))))
(statement
(statement_kind
(expression
(identifier)))))
2023-11-11 01:44:03 +00:00
================================================================================
Strings
2023-11-11 01:44:03 +00:00
================================================================================
"one" 'two' "three" `four` 'five'
2023-11-11 01:44:03 +00:00
--------------------------------------------------------------------------------
(root
2023-11-11 01:44:03 +00:00
(statement
2024-02-16 15:55:15 +00:00
(statement_kind
(expression
(value
(string)))))
(statement
(statement_kind
(expression
(value
(string)))))
(statement
(statement_kind
(expression
(value
(string)))))
(statement
(statement_kind
(expression
(value
(string)))))
(statement
(statement_kind
(expression
(value
(string))))))