Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompositeStringExpression ¶
type CompositeStringExpression struct {
ExpressionString string
Expressions []Expression
}
func (*CompositeStringExpression) GetExpressionString ¶
func (c *CompositeStringExpression) GetExpressionString() string
func (*CompositeStringExpression) GetValue ¶
func (c *CompositeStringExpression) GetValue() interface{}
func (*CompositeStringExpression) GetValueContext ¶
func (c *CompositeStringExpression) GetValueContext(context spel.EvaluationContext) interface{}
type Expression ¶
type Expression interface {
GetExpressionString() string
GetValue() interface{}
GetValueContext(context spel.EvaluationContext) interface{}
}
获取值
type ExpressionParser ¶
type ExpressionParser interface {
ParseExpression(var1 string) Expression
DoParseExpression(var1 string) Expression
}
type InternalSpelExpressionParser ¶
type InternalSpelExpressionParser struct {
*TemplateAwareExpressionParser
Configuration SpelParserConfiguration
// contains filtered or unexported fields
}
func (*InternalSpelExpressionParser) DoParseExpression ¶
func (i *InternalSpelExpressionParser) DoParseExpression(expressionString string) Expression
type LiteralExpression ¶
type LiteralExpression struct {
// contains filtered or unexported fields
}
func (*LiteralExpression) GetExpressionString ¶
func (l *LiteralExpression) GetExpressionString() string
func (*LiteralExpression) GetValue ¶
func (l *LiteralExpression) GetValue() interface{}
func (*LiteralExpression) GetValueContext ¶
func (l *LiteralExpression) GetValueContext(context spel.EvaluationContext) interface{}
type ParserContext ¶
type ParserContext interface {
// contains filtered or unexported methods
}
type SpelExpressionParser ¶
type SpelExpressionParser struct {
*TemplateAwareExpressionParser
}
type TemplateAwareExpressionParser ¶
type TemplateAwareExpressionParser struct {
Bracket
}
func (*TemplateAwareExpressionParser) DoParseExpression ¶
func (s *TemplateAwareExpressionParser) DoParseExpression(expressionString string) Expression
func (*TemplateAwareExpressionParser) ParseExpression ¶
func (t *TemplateAwareExpressionParser) ParseExpression(expressionString string) Expression
type TemplateParserContext ¶
type TemplateParserContext struct {
// contains filtered or unexported fields
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.