js/logEventMatcher/lemAST.js
/**
 * Constructs a BinaryOp whose operator is op and whose left and right operands
 * are lhs and rhs.
 * 
 * @classdesc
 * 
 * A node in the abstract syntax tree that represents a binary operation. The
 * semantics of each operator defined in terms of javascript operators is as
 * follows:
 * <li>BinaryOp.AND: lhs && rhs</li>
 * <li>BinaryOp.XOR: lhs ^ rhs</li>
 * <li>BinaryOp.OR: lhs || rhs</li>
 * <li>BinaryOp.EQUALS: lhs == rhs if rhs is a string. /rhs/.test(lhs) if rhs
 * is a regex</li>
 * <li>BinaryOp.NOT_EQUALS: lhs != rhs if rhs is a string. !(/rhs/.test(lhs))
 * if rhs is a regex</li>
 * 
 * @constructor
 * @extends AST
 * @param {*} op The binary operator associated with this ast. This parameter
 *            must be one of the constants defined in the BinaryOp class such as
 *            BinaryOp.AND
 * @param {AST} lhs The left hand side operand
 * @param {AST} rhs The right hand side operand
 */
Constructs a BinaryOp whose operator is op and whose left and right operands
are lhs and rhs.

@classdesc

A node in the abstract syntax tree that represents a binary operation.

@constructor
@extends AST
@param {*} op The binary operator associated with this ast. This parameter
must be one of the constants defined in the BinaryOp class such as
BinaryOp.AND
@param {AST} lhs The left hand side operand
@param {AST} rhs The right hand side operand
Constructs a BinaryOp whose operator is op and whose left and right operands are lhs and rhs . @classdesc A node in the abstract syntax tree that represents a binary operation . @constructor @extends AST @param { * } op The binary operator associated with this ast . This parameter must be one of the constants defined in the BinaryOp class such as BinaryOp . AND @param { AST } lhs The left hand side operand @param { AST } rhs The right hand side operand
function BinaryOp(op, lhs, rhs) {
    this.op = op;
    this.lhs = lhs;
    this.rhs = rhs;
}
function BinaryOp ( op , lhs , rhs ) { this . op = op ; this . lhs = lhs ; this . rhs = rhs ; }
Constructs a BinaryOp whose operator is op and whose left and right operands
 are lhs and rhs.
Constructs a BinaryOp whose operator is op and whose left and right operands are lhs and rhs .
/** @private */ /** @private */ /** @private */