diff options
author | David Neto <dneto@google.com> | 2019-11-06 01:41:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-06 01:41:10 +0300 |
commit | d9fbf0234869c4dda0bbe70e04f8f31d86c55ee5 (patch) | |
tree | 6b360691e926a85019f701ea2d2f4adc9057bcd9 /utils | |
parent | 3724cfbea894d1d7426051114b455fcdf4be6ec5 (diff) |
Fix Go lint issues: comment exported symbols (#3014)
Diffstat (limited to 'utils')
-rw-r--r-- | utils/vscode/src/grammar/grammar.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/vscode/src/grammar/grammar.go b/utils/vscode/src/grammar/grammar.go index 0d9ee0f1b..183f1b1be 100644 --- a/utils/vscode/src/grammar/grammar.go +++ b/utils/vscode/src/grammar/grammar.go @@ -66,10 +66,14 @@ type Parameter struct { Name string `json:"name"` } +// Quantifier indicates the number of times the quantified term may appear. type Quantifier string const ( + // The quantified term may appear exactly once. Once Quantifier = "" + // The quantified term may appear zero or one time; an optional term. ZeroOrOnce Quantifier = "?" + // The quantified term may appear any number of times. ZeroOrMany Quantifier = "*" ) |