What does a double colon followed by an equals sign (::=) mean in programming documentation?

前端 未结 4 731
时光取名叫无心
时光取名叫无心 2020-12-22 23:44

What does ::= mean in programming documentation?
For example in the Lua documentation: or in Python documentation.

4条回答
  •  天涯浪人
    2020-12-23 00:05

    The given element syntax. For example:

    identifier ::=  (letter|"_") (letter | digit | "_")*
    

    Means all identifiers must conform to the given syntax rule.

提交回复
热议问题