src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Lexer.java
changeset 49145 2854589fd853
parent 47337 079a87f87518
equal deleted inserted replaced
49144:71bc133f25ea 49145:2854589fd853
   590         public void lineInfo(int line, int linePosition);
   590         public void lineInfo(int line, int linePosition);
   591     }
   591     }
   592 
   592 
   593     /**
   593     /**
   594      * Check whether the given token represents the beginning of a literal. If so scan
   594      * Check whether the given token represents the beginning of a literal. If so scan
   595      * the literal and return <tt>true</tt>, otherwise return false.
   595      * the literal and return <code>true</code>, otherwise return false.
   596      *
   596      *
   597      * @param token the token.
   597      * @param token the token.
   598      * @param startTokenType the token type.
   598      * @param startTokenType the token type.
   599      * @param lir LineInfoReceiver that receives line info for multi-line string literals.
   599      * @param lir LineInfoReceiver that receives line info for multi-line string literals.
   600      * @return True if a literal beginning with startToken was found and scanned.
   600      * @return True if a literal beginning with startToken was found and scanned.