From b89540bf5df9fc058745059e1653f76e75c56721 Mon Sep 17 00:00:00 2001 From: "Stephen A. Crowley" Date: Sun, 28 Jan 2024 05:32:56 -0600 Subject: [PATCH] more aptly termed --- src/main/java/arb/expressions/Expression.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/arb/expressions/Expression.java b/src/main/java/arb/expressions/Expression.java index 88021d78b..68d942341 100644 --- a/src/main/java/arb/expressions/Expression.java +++ b/src/main/java/arb/expressions/Expression.java @@ -786,16 +786,16 @@ public Reference evaluateName(int depth, int startPos) nextCharacter(); } String identifier = expression.substring(startPos, position).trim(); - String index = evaluateConditionalSquareBracketedIndex(depth); + String index = evaluatePossibleSquareBracketedIndex(depth); if (index == null) { - index = evaluateConditionalSubscriptedIndex(depth); + index = evaluatePossibleSubscriptedIndex(depth); } return new Reference(identifier, index); } - private String evaluateConditionalSubscriptedIndex(int depth) + private String evaluatePossibleSubscriptedIndex(int depth) { StringBuilder index = new StringBuilder(); @@ -812,7 +812,7 @@ private boolean nextCharacterIsSubscript(int depth) return nextCharacterIs(depth, SUBSCRIPT_CHARACTERS); } - private String evaluateConditionalSquareBracketedIndex(int depth) + private String evaluatePossibleSquareBracketedIndex(int depth) { String index = null; if (nextCharacterIs(depth, '['))