void function ( int arg0 , String arg1 ) { if ( ( currentToken . arg0 == arg0 ) && ( currentToken . sval . compareTo ( arg1 ) == 0 ) ) { logln ( "srini_string" + arg0 + "srini_string" + currentToken . sval ) ; nextToken ( ) ; } else { throw new SyntaxException ( st . lineno ( ) ) ; } }
method to match the current token to a specified token type and value throws a syntaxexception if token does n't match . concode_field_sep URL inputfile concode_elem_sep Token currentToken concode_elem_sep StreamTokenizer st concode_elem_sep String ALIAS concode_elem_sep int ttype concode_elem_sep String sval concode_elem_sep boolean DEBUG concode_field_sep void logln concode_elem_sep void nextToken concode_elem_sep void parse