org.springframework.expression.common
Class TemplateAwareExpressionParser.Bracket
java.lang.Object
org.springframework.expression.common.TemplateAwareExpressionParser.Bracket
- Enclosing class:
- TemplateAwareExpressionParser
private static class TemplateAwareExpressionParser.Bracket
- extends java.lang.Object
This captures a type of bracket and the position in which it occurs in the expression. The positional
information is used if an error has to be reported because the related end bracket cannot be found.
Bracket is used to describe: square brackets [] round brackets () and curly brackets {}
Field Summary |
(package private) char |
bracket
|
(package private) int |
pos
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bracket
char bracket
pos
int pos
TemplateAwareExpressionParser.Bracket
TemplateAwareExpressionParser.Bracket(char bracket,
int pos)
compatibleWithCloseBracket
boolean compatibleWithCloseBracket(char closeBracket)
theOpenBracketFor
static char theOpenBracketFor(char closeBracket)
theCloseBracketFor
static char theCloseBracketFor(char openBracket)