updated flux spec and nav order (#4452)
parent
b8c6beaa2a
commit
51f12c9d71
|
@ -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.
|
||||||
|
|
|
@ -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 .
|
||||||
|
|
Loading…
Reference in New Issue