Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhue committed Mar 21, 2021
1 parent 76825ad commit 7520d13
Showing 1 changed file with 22 additions and 24 deletions.
46 changes: 22 additions & 24 deletions common/precedences.ts
Original file line number Diff line number Diff line change
@@ -1,37 +1,35 @@
export enum Prec {
SubtractionType = 'SubtractionType',
Type = 'Type',
UnionType = 'UnionType',
Access = 'Access',
And = 'And',
Application = 'Application',
Assignment = 'Assignment',
Biconditional = 'Biconditional',
CurriedOrIntersectionType = 'CurriedOrIntersectionType',
Equality = 'Equality',
Exponentiation = 'Exponentiation',
Identifier = 'Identifier',
Implication = 'Implication',
InfixApplication = 'InfixApplication',
LabeledType = 'LabeledType',
OptionalType = 'OptionalType',
TaggedType = 'TaggedType',

Mod = 'Mod',
NamedInfixApplication = 'NamedInfixApplication',
Not = 'Not',
OperatorInfixApplication = 'OperatorInfixApplication',
Biconditional = 'Biconditional',
Implication = 'Implication',
OptionalType = 'OptionalType',
Or = 'Or',
And = 'And',
Equality = 'Equality',
Order = 'Order',
Mod = 'Mod',
Sum = 'Sum',
Product = 'Product',
Exponentiation = 'Exponentiation',
Not = 'Not',
PatternOrTerm = 'PatternOrTerm',
Pipeline = 'Pipeline',

Identifier = 'Identifier',
PrefixApplication = 'PrefixApplication',
Product = 'Product',
SectionIdentifier = 'SectionIdentifier',
TypeHint = 'TypeHint',
SubtractionType = 'SubtractionType',
Sum = 'Sum',
TaggedType = 'TaggedType',
TaggedValue = 'TaggedValue',
Assignment = 'Assignment',
InfixApplication = 'InfixApplication',
PrefixApplication = 'PrefixApplication',
Application = 'Application',
PatternOrTerm = 'PatternOrTerm',
Access = 'Access',
Type = 'Type',
TypeHint = 'TypeHint',
UnionType = 'UnionType',
}

const typePrecedences = [
Expand Down

0 comments on commit 7520d13

Please sign in to comment.