code: public int getVar(char[] array, int currentIndex, StringBuffer velocityBlock, VelocityParserContext context)
          throws InvalidVelocityException
      {
          return getVar(array, currentIndex, null, velocityBlock, context);
      }
docs: Get any valid Velocity starting with a <code>$</code>.
  
  @param array the source to parse
  @param currentIndex the current index in the <code>array</code>
  @param velocityBlock the buffer where to append matched velocity block
  @param context the parser context to put some informations
  @return the index in the <code>array</code> after the matched block
  @throws InvalidVelocityException not a valid velocity block