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