formal_list COMMA typ ID { ($3,$4) :: $1 }

问题描述 投票:1回答:1
What does the

operator mean?For instance:

Is the meaning that we add a to b?:: a :: b

formal_list: typ ID { [($1,$2)] } (双冒号)在Ocaml中是什么意思?
ocaml ocamlyacc
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.