AOWP_AspectASTUtil
public class AOWP_AspectASTUtil
Field Summary | |
---|---|
private static mixed | |
private static mixed | |
private static mixed |
Method Summary | |
---|---|
static void | getAdviceMethodElement(mixed advice) |
static void | getAspectClassElement(mixed phpElement) |
static void | replaceJoinPointInstanceVariable(AOWP_PHPMethodElement element, unknown_type joinPointInstanceName) For around advice for script execution join points. We must call methods for weaving into script execution join points in the following order, 1. |
static void | replaceProceedCall(AOWP_PHPMethodElement element, unknown_type proceedLabelText, unknown_type baseLabelText, unknown_type flagVariableName) For around advice for script execution join points. We must call methods for weaving into script execution join points in the following order, 1. |
static void | replaceThisVariable(mixed element, string aspectInstanceName, AOWP_PHPMethodElement &$element) For around advice for script execution join points. We must call methods for weaving into script execution join points in the following order, 1. |
private static mixed $_JOIN_POINT_INSTANCE_NAME
private static mixed $_PROCEED_BASE_LABEL_INDEX
private static mixed $_PROCEED_RETURN_LABELS
public static void getAdviceMethodElement(mixed advice)
public static void getAspectClassElement(mixed phpElement)
public static void replaceJoinPointInstanceVariable(AOWP_PHPMethodElement element, unknown_type joinPointInstanceName)
For around advice for script execution join points.
We must call methods for weaving into script execution join points in the following order,
1. AOWP_AspectASTUtil::replaceProceedCall
2. AOWP_AspectASTUtil::replaceJoinPointInstanceVariable
3. AOWP_AspectASTUtil::replaceThisVariale
public static void replaceProceedCall(AOWP_PHPMethodElement element, unknown_type proceedLabelText, unknown_type baseLabelText, unknown_type flagVariableName)
For around advice for script execution join points.
We must call methods for weaving into script execution join points in the following order,
1. AOWP_AspectASTUtil::replaceProceedCall
2. AOWP_AspectASTUtil::replaceJoinPointInstanceVariable
3. AOWP_AspectASTUtil::replaceThisVariale
public static void replaceThisVariable(mixed element, string aspectInstanceName, AOWP_PHPMethodElement &$element)
For around advice for script execution join points.
We must call methods for weaving into script execution join points in the following order,
1. AOWP_AspectASTUtil::replaceProceedCall
2. AOWP_AspectASTUtil::replaceJoinPointInstanceVariable
3. AOWP_AspectASTUtil::replaceThisVariale