updated flux spec and nav order (#4452)

pull/4454/head
Scott Anderson 2022-09-12 12:34:44 -06:00 committed by GitHub
parent b8c6beaa2a
commit 51f12c9d71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 11 deletions

View File

@ -4,7 +4,7 @@ description: |
View what versions of Flux are packaged with each version of InfluxDB. View what versions of Flux are packaged with each version of InfluxDB.
menu: menu:
flux_0_x_ref: flux_0_x_ref:
weight: 10 weight: 13
--- ---
View which versions of InfluxDB are packaged with each version of InfluxDB. View which versions of InfluxDB are packaged with each version of InfluxDB.

View File

@ -23,18 +23,19 @@ All such values must have a corresponding builtin statement to declare the exist
BuiltinStatement = "builtin" identifier ":" TypeExpression . BuiltinStatement = "builtin" identifier ":" TypeExpression .
TypeExpression = MonoType ["where" Constraints] . TypeExpression = MonoType ["where" Constraints] .
MonoType = Tvar | Basic | Array | Record | Function . MonoType = Tvar | BasicType | ArrayType | RecordType | FunctionType .
Tvar = "A" … "Z" . Tvar = "A" … "Z" .
Basic = "int" | "uint" | "float" | "string" | "bool" | "time" | "duration" | "bytes" | "regexp" . BasicType = "int" | "uint" | "float" | "string" | "bool" | "time" | "duration" | "bytes" | "regexp" .
Array = "[" MonoType "]" . ArrayType = "[" MonoType "]" .
Record = ( "{" [Properties] "}" ) | ( "{" Tvar "with" Properties "}" ) . RecordType = ( "{" [RecordTypeProperties] "}" ) | ( "{" Tvar "with" RecordTypeProperties "}" ) .
Function = "(" [Parameters] ")" "=>" MonoType . FunctionType = "(" [FunctionTypeParameters] ")" "=>" MonoType .
Properties = Property { "," Property } . RecordTypeProperties = RecordTypeProperty { "," RecordTypeProperty } .
Property = identifier ":" MonoType . RecordTypeProperty = Label ":" MonoType .
Label = identifier | string_lit
Parameters = Parameter { "," Parameter } . FunctionTypeParameters = FunctionTypeParameter { "," FunctionTypeParameter } .
Parameter = [ "<-" | "?" ] identifier ":" MonoType . FunctionTypeParameter = [ "<-" | "?" ] identifier ":" MonoType .
Constraints = Constraint { "," Constraint } . Constraints = Constraint { "," Constraint } .
Constraint = Tvar ":" Kinds . Constraint = Tvar ":" Kinds .