Module flower.Interceptor

This is a class to add another process will intercept function of the table.

Info:

  • Release: V3.0.0
  • Author: Makoto

Functions

Interceptor:init (targets, filter) Constructor.
Interceptor:intercept (target, filterPattern) To intercept a function present in the target table, to add a different action.
Interceptor:invoke (context, ...) Processing at the beginning.
Interceptor:beginProcess (context, ...) Processing at the beginning.
Interceptor:endProcess (context, ...) Processing at the end.


Functions

Interceptor:init (targets, filter)
Constructor.

Parameters:

  • targets target tables
  • filter String to filter function
Interceptor:intercept (target, filterPattern)
To intercept a function present in the target table, to add a different action.

Parameters:

  • target target table
  • filterPattern filter pattern.
Interceptor:invoke (context, ...)
Processing at the beginning.

Parameters:

  • context target context.
  • ... args
Interceptor:beginProcess (context, ...)
Processing at the beginning.

Parameters:

  • context target context.
  • ... args
Interceptor:endProcess (context, ...)
Processing at the end.

Parameters:

  • context target context.
  • ... args
generated by LDoc 1.3