Updated more constants, so that they aren't exported

This commit is contained in:
2025-01-30 10:15:54 -05:00
parent 73c6a442ce
commit 7e6377a4c4
2 changed files with 17 additions and 17 deletions

View File

@@ -23,12 +23,12 @@ const (
)
// Helper constants for lookarounds
const POSITIVE = 1
const NEGATIVE = -1
const LOOKAHEAD = 1
const LOOKBEHIND = -1
const positive = 1
const negative = -1
const lookahead = 1
const lookbehind = -1
var INFINITE_REPS int = -1 // Represents infinite reps eg. the end range in {5,}
var infinite_reps int = -1 // Represents infinite reps eg. the end range in {5,}
// This represents a node in the postfix representation of the expression
type postfixNode struct {
nodetype NodeType