
com.google.javascript.jscomp.CodeGenerator.class Maven / Gradle / Ivy
The newest version!
???? 3*
V'(
' ) * + , - . / 01
2 34
56
78
9 7, 7- 7. 7/
7:;
<=
><
?
>@ YA
B
>C
oD
EF
:G
oH
$I
oJ
oK
oLM
NO
$P
Q YR
oS
oTU
$V WX
Y
>Z
[\
>] W^
W_
o`
oa
ob
Ncd
e
>fghi
>jk
>lmn
o
op
$qrs
ot
:u
@v
ow
x
y
ou
oz W{|
}~
W?
o?
>?
$?
o???
o???
f?
??
j'
j?
j?
V???
o?
?
???
o????
??
>?????
??
o?? Y?
>?
>?
>?
>?
o?
o?
o?
o?
o?
o?
?
o??
o?
o? W?
o?
o??
o?
o??
o??
o?
o?
??
$?
?
(?
?
o? W? W?
o?
o?
>?
>?
>??
$? Y??
?
??????
o??
N??
N?
????
N?? W???
?
$?? Y???
>??
>?t???
o?
N?????
o?????? W? $
$
o
o
o
o W
> W !
"#$%&'?()*
j+,
?
>-
$.
$/
$0
o1
o2
o3
o4
o5
6
7
>89?;
?
:<
o=
:>
:?
@
ABC DE?
oFGH
I
>J
K
L
oM
N
oO
P
>Q
>R
STUVTWXY
jZ[
j\]^_`abcdefghijkl
:m
n
op Wq Wrst InnerClassesu Context
LT_ESCAPED Ljava/lang/String;
ConstantValue
GT_ESCAPED escapedJsStrings Ljava/util/Map; Signature 5Ljava/util/Map; cc +Lcom/google/javascript/jscomp/CodeConsumer; outputCharsetEncoder 3Lcom/google/javascript/jscomp/OutputCharsetEncoder; preferSingleQuotes Z preserveTypeAnnotations trustedStrings quoteKeywordProperties useOriginalName jsDocInfoPrinter /Lcom/google/javascript/jscomp/JSDocInfoPrinter; .(Lcom/google/javascript/jscomp/CodeConsumer;)V Code LineNumberTable LocalVariableTable this ,Lcom/google/javascript/jscomp/CodeGenerator; consumer forCostEstimation Y(Lcom/google/javascript/jscomp/CodeConsumer;)Lcom/google/javascript/jscomp/CodeGenerator; \(Lcom/google/javascript/jscomp/CodeConsumer;Lcom/google/javascript/jscomp/CompilerOptions;)V options .Lcom/google/javascript/jscomp/CompilerOptions; tagAsExterns ()V tagAsStrict add (Ljava/lang/String;)V str
addIdentifier
identifier %(Lcom/google/javascript/rhino/Node;)V n "Lcom/google/javascript/rhino/Node; Y(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/CodeGenerator$Context;)V
jsdocAsString p I
rhsContext 4Lcom/google/javascript/jscomp/CodeGenerator$Context; needsParens
catchblock regexp second c child classNeedsParens name
superClass members
interfaces d D fn
parameters body
preserveBlock preferLineBreaks o postProp args hasElse ambiguousElseClause
precedence next function params isInClass initializer
returnType superType
superTypes elements context type #Lcom/google/javascript/rhino/Token; opstr
childCount first last
StackMapTable4?uvVw arrowFunctionNeedsParens %(Lcom/google/javascript/rhino/Node;)Z parent isFirstChild addArrowFunction ?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/CodeGenerator$Context;)V funcNeedsParens addFunction maybeAddAccessibilityModifier access
Visibility 2Lcom/google/javascript/rhino/JSDocInfo$Visibility;; maybeAddTypeDecl maybeAddGenericTypes generics maybeAddOptional unrollBinaryOperator ?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Token;Ljava/lang/String;Lcom/google/javascript/jscomp/CodeGenerator$Context;Lcom/google/javascript/jscomp/CodeGenerator$Context;II)V op opStr leftPrecedence rightPrecedence firstNonOperator current isSimpleNumber (Ljava/lang/String;)Z C index s len getSimpleNumber (Ljava/lang/String;)D l JD isIndirectEval addNonEmptyStatement Z(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/CodeGenerator$Context;Z)V firstAndOnlyChild alwaysWrapInBlock count allowNonBlockChild
nodeToProcess isBlockDeclOrDo labeledStatement addExpr Z(Lcom/google/javascript/rhino/Node;ILcom/google/javascript/jscomp/CodeGenerator$Context;)V
minPrecedence opRequiresParentheses Z(Lcom/google/javascript/rhino/Node;ILcom/google/javascript/jscomp/CodeGenerator$Context;)Z (isFirstOperandOfExponentiationExpression addList firstInList 7(Lcom/google/javascript/rhino/Node;Ljava/lang/String;)V separator l(Lcom/google/javascript/rhino/Node;ZLcom/google/javascript/jscomp/CodeGenerator$Context;Ljava/lang/String;)V isFirst isArrayOrFunctionArgument
lhsContext addStringKey key addObjectPattern addArrayList lastWasEmpty addCaseBody caseBody addAllSiblings addJsString cached useSlashV jsString '(Ljava/lang/String;Z)Ljava/lang/String; i doublequote singlequote quote singleq doubleq regexpEscape &(Ljava/lang/String;)Ljava/lang/String; strEscape p(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZ)Ljava/lang/String; endScript startComment doublequoteEscape singlequoteEscape backtickEscape backslashEscape isRegexp sb Ljava/lang/StringBuilder;? identifierEscape getNonEmptyChildCount &(Lcom/google/javascript/rhino/Node;I)I maxCount getFirstNonEmptyChild F(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node; result getContextForNonEmptyExpression j(Lcom/google/javascript/jscomp/CodeGenerator$Context;)Lcom/google/javascript/jscomp/CodeGenerator$Context; currentContext getContextForNoInOperator
processEnd
SourceFile CodeGenerator.javao} java/util/HashMap_`cdefghjhihkhlh -com/google/javascript/jscomp/JSDocInfoPrinteroxmn *com/google/javascript/jscomp/CodeGeneratorop 1com/google/javascript/jscomp/OutputCharsetEncoderyz{o|}~ /** @externs */
?
'use strict';w?????~???? /** */ ???????????? 9Bad binary operator "%s": expected 2 arguments but got %s?????#!???~?~ (??v???????? )?????????~?~?x try??} finally catch throw?x return?} var ,?????? const let ???~ =???????~?? [?? ]???????????~ ? :?~ java/lang/Error Expected children to be stringso? java/lang/StringBuilder?????? com/google/javascript/rhino/Node Unexpected Node subclass.?~???? ... export?? default * from$? import?} { } as class?? extends??
implements???x?}?}?x???~?~?~?~?~???~ static ?~?~???~?~ async ???~ get ?~ set ?~?~????????? ??~?????~?~?}?}?? for???? ; !?? in of do while
$jscomp.scope?? ,Bad GETPROP: expected 2 children, but got %s?? !Bad GETPROP: RHS should be STRING???? . >Bad GETELEM node: Expected 2 children but got %s. For node: %s?? with(?? ++ --???? (0,?? if else?} null?? super
new.target yield?~?? await false true continue?~ ,Unexpected token type. Should be LABEL_NAME. debugger break new ???????? A string may not have children delete ?~?~?~?~ async?? >initializers should only exist in object literals, not classes?? switch(?? case ?? ` " ' \` \\
${?? string boolean number any void?? [] => |?? < > interface enum namespace declare java/lang/RuntimeException
Unknown type ??
???? ??~~~~~????x async function 0com/google/javascript/rhino/JSDocInfo$Visibility ?
??? %com/google/javascript/jscomp/NodeUtil java/lang/NumberFormatException java/lang/Double~ eval Missing BLOCK child.~??~??~??}}? java/lang/String \' \"? \o \x00 \v \x0B \b \f \n \r \t \u2028 \u2029 \x3d \x26 \x3e \x3c /script !-- !"#$%&'?(? java/lang/Object ,com/google/javascript/jscomp/CodeGenerator$1 2com/google/javascript/jscomp/CodeGenerator$Context !com/google/javascript/rhino/Token )com/google/javascript/jscomp/CodeConsumer (Z)V ,com/google/javascript/jscomp/CompilerOptions getOutputCharset ()Ljava/nio/charset/Charset; (Ljava/nio/charset/Charset;)V getUseOriginalNamesInOutput ()Z OTHER continueProcessing getJSDocInfo )()Lcom/google/javascript/rhino/JSDocInfo; print ;(Lcom/google/javascript/rhino/JSDocInfo;)Ljava/lang/String; equals (Ljava/lang/Object;)Z getToken %()Lcom/google/javascript/rhino/Token; opToStr 7(Lcom/google/javascript/rhino/Token;)Ljava/lang/String;
getChildCount ()I
getFirstChild $()Lcom/google/javascript/rhino/Node; getLastChild $com/google/common/base/Preconditions
checkState )(ZLjava/lang/String;Ljava/lang/Object;I)V &(Lcom/google/javascript/rhino/Token;)I
START_OF_EXPR isObjectPattern isAssign isAssignmentOp EXPONENT addOp (Ljava/lang/String;Z)V startSourceMapping ,$SwitchMap$com$google$javascript$rhino$Token [I ordinal getNext isBlock hasMoreThanOneChild maybeInsertSpace endStatement getParent isStatement getString ()Ljava/lang/String; isEmpty getOriginalName isComma ASSIGN COMMA getDouble ()D addNumber (D)V
opToStrNoFail isNumber isString append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString getClass ()Ljava/lang/Class; isArrowFunction getBooleanProp (I)Z
listSeparator getProp (I)Ljava/lang/Object; STATEMENT endClass
beginBlock endLine endBlock toStringTree isObjectLit isClassMembers isInterfaceMembers isRecordType isIndexSignature isStaticMember isMemberVariableDef isGeneratorFunction MEMBER_FUNCTION_DEF isMemberFunctionDef isAsyncFunction getSecondChild hasChildren hasOneChild
isFunction isQuotedString 'com/google/javascript/rhino/TokenStream isJSIdentifier isLatin isNaN (D)Z isSyntheticBlock SCRIPT BLOCK isScript isClass maybeLineBreak notePreferredLineBreak breakAfterBlockFor &(Lcom/google/javascript/rhino/Node;Z)Z isNameDeclaration IN_FOR_INIT_CLAUSE matchesQualifiedName (ZLjava/lang/String;I)V (ZLjava/lang/Object;)V isKeyword )(ZLjava/lang/String;ILjava/lang/Object;)V INC isGet BEFORE_DANGLING_ELSE addConstant
isYieldFor checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; isLabelName CALL MATCH_NOT_FUNCTION "Lcom/google/common/base/Predicate; containsType j(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Token;Lcom/google/common/base/Predicate;)Z isComputedProp isGetterDef isSetterDef isStringKey
CLASS_MEMBERS
ARRAY_TYPE -(Ljava/lang/Object;)Ljava/lang/StringBuilder; endSourceMapping isBinaryOperator isUnaryOperator isUpdateOperator isTaggedTemplateLit isGetProp isGetElem isCall isHook endFunction %com/google/javascript/rhino/JSDocInfo toLowerCase getDeclaredTypeExpression) TypeDeclarationNode 8()Lcom/google/javascript/rhino/Node$TypeDeclarationNode; length charAt (I)C java/lang/Long parseLong (Ljava/lang/String;)J isName shouldPreserveExtraBlocks isLabel isIn
beginCaseBody endCaseBody
java/util/Map get put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; (C)Ljava/lang/StringBuilder; (I)V
regionMatches (ZILjava/lang/String;II)Z canEncode (C)Z #com/google/debugging/sourcemap/Util !appendHexJavaScriptRepresentation (Ljava/lang/StringBuilder;C)V NAMESPACE_ELEMENTS DECLARE 4com/google/javascript/rhino/Node$TypeDeclarationNode ! V [\ ] N ^\ ] M _` a b cd ef gh ih jh kh lh mn , op q ? ?*? *? Y? ? *+? *? *? *? *? *?
*? *? Y?
? ? r . 3 &