anchor.diff:   THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   */
   
  -/** 
  +/**
    *  An Apexcode grammar derived from Java 1.7 grammar for ANTLR v4.
    *  Uses ANTLR v4's left-recursive expression notation.
  - *  
  + *
    *  @maintainer: Andrey Gavrikov
    *
    *  You can test with
  
positive.code:     |   FOR '(' forControl ')' statement
      |   WHILE parExpression statement
      |   DO statement WHILE parExpression ';'
      |   TRY block (catchClause+ finallyBlock? | finallyBlock)
      |   TRY resourceSpecification block catchClause* finallyBlock?
      |   RETURN expression? ';'
  
negative.code: SoqlLiteral
      : '[' WS* SELECT (SelectRestNoInnerBrackets | SelectRestAllowingInnerBrackets)*? ']'
  	;
  
  fragment SelectRestAllowingInnerBrackets
  	:  '[' ~']' .*? ']'
  	|	~'[' .*?
  