120 lines
1.8 KiB
Plaintext
120 lines
1.8 KiB
Plaintext
======================
|
|
Empty bracket argument
|
|
======================
|
|
|
|
message([[]])
|
|
|
|
---
|
|
(source_file
|
|
(command_invocation
|
|
(normal_command
|
|
(identifier)
|
|
(arguments
|
|
(argument (bracket_argument))
|
|
)
|
|
)
|
|
)
|
|
)
|
|
|
|
==========================
|
|
One empty bracket argument
|
|
==========================
|
|
|
|
message([[An argument]])
|
|
|
|
---
|
|
(source_file
|
|
(command_invocation
|
|
(normal_command
|
|
(identifier)
|
|
(arguments
|
|
(argument (bracket_argument (bracket_content)))
|
|
)
|
|
)
|
|
)
|
|
)
|
|
|
|
====================
|
|
One bracket argument
|
|
====================
|
|
|
|
message([[An argument]])
|
|
|
|
---
|
|
(source_file
|
|
(command_invocation
|
|
(normal_command
|
|
(identifier)
|
|
(arguments
|
|
(argument (bracket_argument (bracket_content)))
|
|
)
|
|
)
|
|
)
|
|
)
|
|
|
|
=====================
|
|
Two bracket arguments
|
|
=====================
|
|
|
|
message([[First argument]] [[Second argument]])
|
|
|
|
---
|
|
(source_file
|
|
(command_invocation
|
|
(normal_command
|
|
(identifier)
|
|
(arguments
|
|
(argument (bracket_argument (bracket_content)))
|
|
(seperation (space))
|
|
(argument (bracket_argument (bracket_content)))
|
|
)
|
|
)
|
|
)
|
|
)
|
|
|
|
=====================================
|
|
Two bracket with two equals arguments
|
|
=====================================
|
|
|
|
message(
|
|
[====[First argument]====]
|
|
[====[Second argument]====]
|
|
)
|
|
|
|
---
|
|
(source_file
|
|
(command_invocation
|
|
(normal_command
|
|
(identifier)
|
|
(seperation (space))
|
|
(arguments
|
|
(argument (bracket_argument (bracket_content)))
|
|
(seperation (space))
|
|
(argument (bracket_argument (bracket_content)))
|
|
(seperation (line_ending (newline)))
|
|
)
|
|
)
|
|
)
|
|
)
|
|
|
|
================================
|
|
Bracket argument with line break
|
|
================================
|
|
|
|
message([[An argument
|
|
with line break
|
|
]])
|
|
|
|
---
|
|
(source_file
|
|
(command_invocation
|
|
(normal_command
|
|
(identifier)
|
|
(arguments
|
|
(argument (bracket_argument (bracket_content)))
|
|
)
|
|
)
|
|
)
|
|
)
|
|
|