anchor.diff:  
   constraint
       : e=brackettedExpression -> constraint(brackettedExpression={$e.st})
  -    | b=builtInCall -> constraint(expression={$b.st})
  -    | f=functionCall -> constraint(expression={$f.st})
  +    | b=builtInCall -> constraint(builtInCall={$b.st})
  +    | f=functionCall -> constraint(functionCall={$f.st})
       ;
   
   functionCall
  
positive.code:  */
  tree grammar SparqlT; 
  
  options {
  tokenVocab=Sparql; // reuse token types
  ASTLabelType=CommonTree; // $label will have type CommonTree
  output=template; //template;
  
negative.code:     ;
  
  regexExpression
      : ^(REGEX (e+=expression)+) -> regexExpression(type={$REGEX.text}, expression={$e})
      ;
      
  subStringExpression
  