
com.google.javascript.jscomp.parsing.parser.Scanner.class Maven / Gradle / Ivy
The newest version!
???? 3?
??
$??
? ?? ?? ?? ?? ?? ??
?? ??
?
?? ? ?? ??
?
??
??
??
??
??
??
??
??
??? ??
??
??
?
????
??
??
??
?? ? ???
?? ?? ??
??
???
??
??
??
??
???
??
???
??
??
?
??
?
?
?? ??
??
??
??
??
??
??
??
??
?? &?
???
?? &?
??
?? ?? &?
?? &? &??
?? ??
?? ?? ?? ?? ?? ??
??
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ? ? ? ? ? ? ? ? ? ? ?
? ? ?
? ? ? ? ? ? ? ?
?
?
?
?
?
?
?
?
?
? ?!
?"#
?$%
?&'
?(
)*
??
?+
?,
?-. ?/
?01
23
45
67
689
?:
?;<
?=
?>
2?
4@
?A
?BCD
2E
2F
?G
?H ?IJK ?L ?M
?N
?OP
?Q
?RSTU
?V
?W
?X
Y?
YZ[\ CommentRecorder InnerClasses
errorReporter @Lcom/google/javascript/jscomp/parsing/parser/util/ErrorReporter; source 8Lcom/google/javascript/jscomp/parsing/parser/SourceFile;
currentTokens Ljava/util/LinkedList; Signature KLjava/util/LinkedList; index I commentRecorder ELcom/google/javascript/jscomp/parsing/parser/Scanner$CommentRecorder; typeParameterLevel ?(Lcom/google/javascript/jscomp/parsing/parser/util/ErrorReporter;Lcom/google/javascript/jscomp/parsing/parser/Scanner$CommentRecorder;Lcom/google/javascript/jscomp/parsing/parser/SourceFile;)V Code LineNumberTable LocalVariableTable this 5Lcom/google/javascript/jscomp/parsing/parser/Scanner; ?(Lcom/google/javascript/jscomp/parsing/parser/util/ErrorReporter;Lcom/google/javascript/jscomp/parsing/parser/Scanner$CommentRecorder;Lcom/google/javascript/jscomp/parsing/parser/SourceFile;I)V file offset getLineNumberTable ?()Lcom/google/javascript/jscomp/parsing/parser/LineNumberTable; getFile :()Lcom/google/javascript/jscomp/parsing/parser/SourceFile; getOffset ()I
StackMapTable setOffset (I)V getPosition C()Lcom/google/javascript/jscomp/parsing/parser/util/SourcePosition; D(I)Lcom/google/javascript/jscomp/parsing/parser/util/SourcePosition;
getTokenRange A(I)Lcom/google/javascript/jscomp/parsing/parser/util/SourceRange; startOffset nextToken 5()Lcom/google/javascript/jscomp/parsing/parser/Token; clearTokenLookahead ()V !nextRegularExpressionLiteralToken <()Lcom/google/javascript/jscomp/parsing/parser/LiteralToken;
beginToken nextTemplateLiteralToken token 3Lcom/google/javascript/jscomp/parsing/parser/Token;? skipRegularExpressionBody ()Z skipRegularExpressionChar &skipRegularExpressionBackslashSequence skipRegularExpressionClass peekRegularExpressionClassChar skipRegularExpressionClassChar isRegularExpressionFirstChar (C)Z ch C isRegularExpressionChar peekToken 6(I)Lcom/google/javascript/jscomp/parsing/parser/Token; isAtEnd isValidIndex (I)Z skipWhitespace foundLineTerminator Z peekWhitespace isWhitespace isLineTerminator skipComments skipComment
isStartOfLine reportHtmlCommentWarning skipSingleLineComment^ Type C(Lcom/google/javascript/jscomp/parsing/parser/trees/Comment$Type;)V type @Lcom/google/javascript/jscomp/parsing/parser/trees/Comment$Type; range >Lcom/google/javascript/jscomp/parsing/parser/util/SourceRange; value Ljava/lang/String;
recordComment ?(Lcom/google/javascript/jscomp/parsing/parser/trees/Comment$Type;Lcom/google/javascript/jscomp/parsing/parser/util/SourceRange;Ljava/lang/String;)V skipMultiLineComment^ scanToken scanNumberPostPeriod
scanPostDigit scanPostZero createToken m(Lcom/google/javascript/jscomp/parsing/parser/TokenType;I)Lcom/google/javascript/jscomp/parsing/parser/Token; 7Lcom/google/javascript/jscomp/parsing/parser/TokenType; scanIdentifierOrKeyword 7(IC)Lcom/google/javascript/jscomp/parsing/parser/Token; valueBuilder Ljava/lang/StringBuilder; containsUnicodeEscape bracedUnicodeEscape unicodeEscapeLen start*_ processUnicodeEscapes &(Ljava/lang/String;)Ljava/lang/String; hexDigits escapeEnd e Ljava/lang/RuntimeException; escapeStart[` isIdentifierStart isIdentifierPart scanStringLiteral
beginIndex
terminator scanTemplateLiteral nextTemplateLiteralTokenShared ?(Lcom/google/javascript/jscomp/parsing/parser/TokenType;Lcom/google/javascript/jscomp/parsing/parser/TokenType;)Lcom/google/javascript/jscomp/parsing/parser/LiteralToken; endType
middleType getTokenString (I)Ljava/lang/String; peekStringLiteralChar skipStringLiteralChar skipTemplateCharacters skipStringLiteralEscapeSequence allHexDigits skipHexDigit skipLineTerminator first scanFractionalNumericLiteral =(I)Lcom/google/javascript/jscomp/parsing/parser/LiteralToken; scanExponentOfNumericLiteral skipDecimalDigits isDecimalDigit peekHexDigit
skipHexDigits skipOctalDigits isOctalDigit valueOfOctalDigit (C)I skipBinaryDigits
isBinaryDigit valueOfBinaryDigit nextChar ()C peek peekChar (I)C reportError ((Ljava/lang/String;[Ljava/lang/Object;)V format arguments [Ljava/lang/Object; i(Lcom/google/javascript/jscomp/parsing/parser/util/SourcePosition;Ljava/lang/String;[Ljava/lang/Object;)V position ALcom/google/javascript/jscomp/parsing/parser/util/SourcePosition;
reportWarning incTypeParameterLevel decTypeParameterLevel
SourceFile Scanner.java ? ? ? java/util/LinkedList ? ? ? ? ? ? ? ? ? ? ? ? ? ?abcd e,fA{g ? ?h ? ? ? ? ? ?ij ?klmn 1com/google/javascript/jscomp/parsing/parser/Tokenop
8com/google/javascript/jscomp/parsing/parser/LiteralTokenop9WX ? ? ?qrp *Expected '/' in regular expression literal java/lang/ObjecttuN ? )9r9 1Expected '}' after expression in template literaltys9t9ST &Expected regular expression first char
2New line not allowed in regular expression literal ']' expectedqu ?3 vwxyz._{ ?"rs%1$|*%( ?In some cases, '' are treated as a '//' for legacy reasons. Removing this from your code is safe for all browsers currently in use.|u}*~/0?*?s?*?* unterminated comment!?978?9?9?9?9?9e4?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?9?965O;R:;dcbabm 6Binary Integer Literal must contain at least one digitl?9i 5Octal Integer Literal must contain at least one digith %Invalid octal digit in octal literal.f 3Hex Integer Literal must contain at least one digitg ?? java/lang/StringBuilder????DE Invalid escape sequence?9M