tree-sitter-tony
Version:
Tony grammar for tree-sitter
32 lines (31 loc) • 516 B
JavaScript
module.exports = {
TaggedType: -1,
SubtractionType: -1,
UnionType: 0,
Assignment: 1,
TypeHint: 1,
CurriedType: 1,
NamedInfixApplication: 1,
SectionIdentifier: 1,
Literal: 1,
IntersectionType: 1,
OperatorInfixApplication: 2,
Biconditional: 3,
Implication: 4,
Or: 5,
And: 6,
Equality: 7,
Order: 8,
Mod: 9,
Sum: 10,
Product: 11,
Exponentiation: 12,
Not: 13,
PrefixApplication: 14,
Application: 16,
Term: 17,
Pattern: 17,
Tagged: 17,
Pipeline: 18,
Access: 19,
}