quotes and brackets
I'm programming a parser for a new language, and need a word which references all kinds of quotes and brackets:
""
''
<>
()
[]
{}
Up to now I always used "quotes and brackets", but is there another, single-term word, that can be used?
(Related: Bracket vs brace)
Edit:
The language will be relatively simple. However, it's commands are completly defined by modules, and they decide how delimiters are used. Here's an example:
function "a subFunction"
set background color #FFF //No semicolons - one command per line
put image "/path/forest.jpg" size [1080px auto] position [0 0] //square brackets for additional information
end
set background color "black" animation [fadeIn 500ms linear]
<$variable == 42.5> call "a subFunction" //function is only called, if the condition is true
sleep 5.6s //dots and commas have no special meaning
set background image /path/img.jpg //Quotes are always optional
Solution 1:
They're...
delimiters - a sequence of one or more characters used to specify the boundary between separate, independent regions in plain text
In the case of brackets, they're "paired delimiters". Depending on your font, single/double quotes might be “paired” (aka smart quotes) or "not paired" (sometimes called dumb quotes). Those alternatives are in fact different characters, but I've never come across a context where both are used within the same text with different connotations.