public static Input.Tok startTok(Token token){
  for (  Input.Tok tok : token.getToksBefore()) {
    if (tok.getIndex() >= 0) {
      return tok;
    }
  }
  return token.getTok();
}

public static Input . Tok startTok ( Token token ) { for ( Input . Tok tok : token . getToksBefore ( ) ) { if ( tok . getIndex ( ) >= 0 ) { return tok ; } } return token . getTok ( ) ; }
the earliest non - whitespace tok in the token .
