public class JsUtils extends Object
Modifier and Type | Method and Description |
---|---|
static JsFunction |
isExecuteOnce(JsInvocation invocation)
Given a JsInvocation, determine if it is invoking a JsFunction that is
specified to be executed only once during the program's lifetime.
|
static JsFunction |
isFunction(JsExpression e)
Given an expression, determine if it is a JsNameRef that refers to a
statically-defined JsFunction.
|
public static JsFunction isExecuteOnce(JsInvocation invocation)
public static JsFunction isFunction(JsExpression e)
Copyright © 2018. All rights reserved.