hacks for some examples added
tests added kotlin lib clean up
This commit is contained in:
@@ -339,4 +339,8 @@ public class AstUtil {
|
||||
public static JsPrefixOperation not(JsExpression expression) {
|
||||
return new JsPrefixOperation(JsUnaryOperator.NOT, expression);
|
||||
}
|
||||
|
||||
public static JsBinaryOperation typeof(JsExpression expression, JsStringLiteral string) {
|
||||
return equals(new JsPrefixOperation(JsUnaryOperator.TYPEOF, expression), string);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user