Documentation ¶
Index ¶
- type ExpressionEngineLexerCache
- type ExpressionEngineLexerCacheable
- type ExpressionEngineLexerMapCache
- func (it *ExpressionEngineLexerMapCache) Get(expression string) (interface{}, error)
- func (it *ExpressionEngineLexerMapCache) Name() string
- func (it ExpressionEngineLexerMapCache) New() ExpressionEngineLexerMapCache
- func (it *ExpressionEngineLexerMapCache) Set(expression string, lexer interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExpressionEngineLexerCache ¶
type ExpressionEngineLexerCache interface { Set(expression string, lexer interface{}) error Get(expression string) (interface{}, error) Name() string }
Lexer 结果缓存
type ExpressionEngineLexerMapCache ¶
type ExpressionEngineLexerMapCache struct {
// contains filtered or unexported fields
}
func (*ExpressionEngineLexerMapCache) Get ¶
func (it *ExpressionEngineLexerMapCache) Get(expression string) (interface{}, error)
func (*ExpressionEngineLexerMapCache) Name ¶
func (it *ExpressionEngineLexerMapCache) Name() string
func (ExpressionEngineLexerMapCache) New ¶
func (it ExpressionEngineLexerMapCache) New() ExpressionEngineLexerMapCache
func (*ExpressionEngineLexerMapCache) Set ¶
func (it *ExpressionEngineLexerMapCache) Set(expression string, lexer interface{}) error
Click to show internal directories.
Click to hide internal directories.