Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Capture ¶
type Capture struct {
// contains filtered or unexported fields
}
func (Capture) Resolve ¶
func (c Capture) Resolve( capturesExpr types.CaptureExpressions, capturesCache types.CapturedStates, state types.NMState) (types.CapturedStates, error)
type CaptureEntry ¶
type CaptureEntry struct {
// contains filtered or unexported fields
}
func NewCaptureEntry ¶
func NewCaptureEntry(capturedStates types.CapturedStates) (CaptureEntry, error)
func NewCaptureEntryWithLexerParserResolver ¶
func NewCaptureEntryWithLexerParserResolver(capturedStates types.CapturedStates, l Lexer, p Parser, r Resolver) (CaptureEntry, error)
func (CaptureEntry) ResolveCaptureEntryPath ¶
func (c CaptureEntry) ResolveCaptureEntryPath( captureEntryPathExpression string) (interface{}, error)
type Resolver ¶
type Resolver interface { Resolve(captureExpressions types.CaptureExpressions, captureASTPool types.CaptureASTPool, state types.NMState, capturedStates types.CapturedStates) (types.CapturedStates, error) ResolveCaptureEntryPath(expression string, captureEntryPathAST ast.Node, capturedStates types.CapturedStates) (interface{}, error) }
Click to show internal directories.
Click to hide internal directories.