Skip to content

Commit

Permalink
Support template in option value
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricereix committed Oct 14, 2023
1 parent 37e15e1 commit e19835b
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions docs/spec/hurl.grammar
Original file line number Diff line number Diff line change
Expand Up @@ -130,26 +130,30 @@ option:

ca-certificate-option: "cacert" ":" filename lt

follow-redirect-option: "location" ":" boolean lt
follow-redirect-option: "location" ":" boolean-option lt

insecure-option: "insecure" ":" boolean lt
insecure-option: "insecure" ":" boolean-option lt

max-redirs-option: "max-redirs" ":" integer lt
max-redirs-option: "max-redirs" ":" integer-option lt

resolve-option: "resolve" ":" quoted-string lt
resolve-option: "resolve" ":" value-string lt

retry-option: "retry" ":" boolean lt
retry-option: "retry" ":" boolean-option lt

retry-interval-option: "retry-interval" ":" integer lt
retry-interval-option: "retry-interval" ":" integer-option lt

variable-option: "variable" ":" variable-definition lt

verbose-option: "verbose" ":" boolean lt
verbose-option: "verbose" ":" boolean-option lt

very-verbose-option: "very-verbose" ":" boolean lt
very-verbose-option: "very-verbose" ":" boolean-option lt

variable-definition: variable-name "=" variable-value

boolean-option: boolean | template

integer-option: integer | template

variable-value:
null
| boolean
Expand Down

0 comments on commit e19835b

Please sign in to comment.