
com.google.javascript.rhino.Node.class Maven / Gradle / Ivy
The newest version!
???? 3?????????????????????????
8 !
8"
8#
8$
7%
g & ' ()
*+ ,- ./ 0123456
*7
8
9:
S;
S<= >?
V@
VA
B
C
DEFGH
I
*J
K
L
M
NOP QtRtST
*U
VtW
XtY
Zt[\
]
^
_
`
a
bcd
|ef
~g
hij
kl >mno
8pq
?%rs >t
u
v
8w
x >yz
{
8|
} ~
??
?? ?
g$?
?
????
?%
????
$???
??
? ?????
?
? ??
?
? ??
?
?
???
???
??
??
??? ??? ??
?
?
??
??????????
??
?
g?
?
??
?
?
{? >? >? >? >?
? i?
>?
??
??
??
?
?
?
8?
? >?
?? >? >?
?
?
?
??
??
??
??
?
?
?
???
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
??? >??
*?
l?
?
?
?? >? > > > > > > > > > > >
> > >
> > > > > > > >
> > > > > > > > > >! >" ># >$ >% >& >' >( >) >* >+ >, >- >. >/ >0 >1 >2 >3 >4 >5 >6 >7 >8 >9 >: >; >< >= >> >? >@ >A >B >C >D >E >F >G >H >I >JKLM InnerClasses NodeMismatchN SideEffectFlags AncestorIterable SiblingNodeIterable IntPropListItem ObjectPropListItemO AbstractPropListItemP PropListItem
StringNode
NumberNode TypeDeclarationNode serialVersionUID J
ConstantValue JSDOC_INFO_PROP I
VAR_ARGS_NAME
INCRDECR_PROP QUOTED_PROP $ OPT_ARG_NAME % SYNTHETIC_BLOCK_PROP & ADDED_BLOCK ' ORIGINALNAME_PROP ( SIDE_EFFECT_FLAGS * IS_CONSTANT_NAME + IS_NAMESPACE .
DIRECTIVES 0 DIRECT_EVAL 1 FREE_CALL 2 STATIC_SOURCE_FILE 3 INPUT_ID 5 SLASH_V 6 INFERRED_FUNCTION 7 CHANGE_TIME 8 REFLECTED_OBJECT 9
STATIC_MEMBER : GENERATOR_FN ; ARROW_FN < ASYNC_FN = YIELD_FOR > EXPORT_DEFAULT ? EXPORT_ALL_FROM @ IS_CONSTANT_VAR A GENERATOR_MARKER B GENERATOR_SAFE C RAW_STRING_VALUE G COMPUTED_PROP_METHOD H COMPUTED_PROP_GETTER I COMPUTED_PROP_SETTER J COMPUTED_PROP_VARIABLE K ANALYZED_DURING_GTI L CONSTANT_PROPERTY_DEF M DECLARED_TYPE_EXPR N TYPE_BEFORE_CAST O
OPT_ES6_TYPED P GENERIC_TYPE_LIST Q
IMPLEMENTS R CONSTRUCT_SIGNATURE S ACCESS_MODIFIER T
NON_INDEXABLE U
PARSE_RESULTS V GOOG_MODULE W GOOG_MODULE_REQUIRE X FEATURE_SET Y IS_MODULE_NAME Z WAS_PREVIOUSLY_PROVIDED [ IS_ES6_CLASS \
TRANSPILED ] token #Lcom/google/javascript/rhino/Token; next "Lcom/google/javascript/rhino/Node; previous first propListHead /Lcom/google/javascript/rhino/Node$PropListItem; COLUMN_BITS MAX_COLUMN_NUMBER ? COLUMN_MASK sourcePosition length typei #Lcom/google/javascript/rhino/TypeI; parent FLAG_GLOBAL_STATE_UNMODIFIED FLAG_THIS_UNMODIFIED FLAG_ARGUMENTS_UNMODIFIED FLAG_NO_THROWS FLAG_LOCAL_RESULTS SIDE_EFFECTS_FLAGS_MASK SIDE_EFFECTS_ALL NO_SIDE_EFFECTS propToString (I)Ljava/lang/String; Code LineNumberTable LocalVariableTable propType
StackMapTable &(Lcom/google/javascript/rhino/Token;)V this nodeType H(Lcom/google/javascript/rhino/Token;Lcom/google/javascript/rhino/Node;)V child?Q j(Lcom/google/javascript/rhino/Token;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V left right ?(Lcom/google/javascript/rhino/Token;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V mid ?(Lcom/google/javascript/rhino/Token;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V mid2 ((Lcom/google/javascript/rhino/Token;II)V lineno charno J(Lcom/google/javascript/rhino/Token;Lcom/google/javascript/rhino/Node;II)V newNumber %(D)Lcom/google/javascript/rhino/Node; number D '(DII)Lcom/google/javascript/rhino/Node; newString 6(Ljava/lang/String;)Lcom/google/javascript/rhino/Node; str Ljava/lang/String; Y(Lcom/google/javascript/rhino/Token;Ljava/lang/String;)Lcom/google/javascript/rhino/Node; 8(Ljava/lang/String;II)Lcom/google/javascript/rhino/Node; [(Lcom/google/javascript/rhino/Token;Ljava/lang/String;II)Lcom/google/javascript/rhino/Node; getToken %()Lcom/google/javascript/rhino/Token; setToken hasChildren ()Z
getFirstChild $()Lcom/google/javascript/rhino/Node; getFirstFirstChild getSecondChild getLastChild getNext getPrevious F(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node; firstSibling getChildBefore getChildAtIndex %(I)Lcom/google/javascript/rhino/Node; i n getIndexOfChild %(Lcom/google/javascript/rhino/Node;)I addChildToFront %(Lcom/google/javascript/rhino/Node;)V last addChildToBack addChildrenToFront children lastSib addChildrenToBack addChildBefore G(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V newChild node
addChildAfter addChildrenAfter lastSibling nodeAfter removeChild prevSibling nextSibling replaceWith newNode replaceChild replaceChildAfter prevChild replaceFirstOrChildAfter prev target "RuntimeVisibleParameterAnnotations Ljavax/annotation/Nullable; lookupProperty 2(I)Lcom/google/javascript/rhino/Node$PropListItem; xP RuntimeInvisibleAnnotations 1Lcom/google/common/annotations/VisibleForTesting; clonePropsFrom other
removeProp (I)V result hasProps a(Lcom/google/javascript/rhino/Node$PropListItem;I)Lcom/google/javascript/rhino/Node$PropListItem; item getProp (I)Ljava/lang/Object; getBooleanProp (I)Z
getIntProp (I)I getExistingIntProp putProp (ILjava/lang/Object;)V value Ljava/lang/Object; putBooleanProp (IZ)V Z
putIntProp (II)V setDeclaredTypeExpression 9(Lcom/google/javascript/rhino/Node$TypeDeclarationNode;)V typeExpression 6Lcom/google/javascript/rhino/Node$TypeDeclarationNode; getDeclaredTypeExpression 8()Lcom/google/javascript/rhino/Node$TypeDeclarationNode;
createProp s(ILjava/lang/Object;Lcom/google/javascript/rhino/Node$PropListItem;)Lcom/google/javascript/rhino/Node$PropListItem; b(IILcom/google/javascript/rhino/Node$PropListItem;)Lcom/google/javascript/rhino/Node$PropListItem; getJSTypeBeforeCast -()Lcom/google/javascript/rhino/jstype/JSType; getTypeIBeforeCast %()Lcom/google/javascript/rhino/TypeI; getSortedPropTypes ()[I count keys [I? getDouble ()D setDouble (D)V getString ()Ljava/lang/String; setString (Ljava/lang/String;)V toString (ZZZ)Ljava/lang/String; printSource printAnnotations printType sb Ljava/lang/StringBuilder; (Ljava/lang/StringBuilder;ZZZ)V type
typeString toStringTree toStringTreeImpl s e Ljava/io/IOException;? appendStringTree (Ljava/lang/Appendable;)V
appendable Ljava/lang/Appendable;
Exceptions toStringTreeHelper <(Lcom/google/javascript/rhino/Node;ILjava/lang/Appendable;)V cursor level setStaticSourceFile 1(Lcom/google/javascript/rhino/StaticSourceFile;)V file .Lcom/google/javascript/rhino/StaticSourceFile; setSourceFileForTesting name getSourceFileName?? getStaticSourceFile 0()Lcom/google/javascript/rhino/StaticSourceFile;
setInputId ((Lcom/google/javascript/rhino/InputId;)V inputId %Lcom/google/javascript/rhino/InputId;
getInputId '()Lcom/google/javascript/rhino/InputId; getOriginalName setOriginalName originalName isIndexable makeNonIndexable ()V
isFromExterns getLength ()I setLength getLineno getCharno getSourceOffset getSourcePosition setLineno setCharno setSourceEncodedPosition setSourceEncodedPositionForTree mergeLineCharNo (II)I
extractLineno
lineCharNo
extractCharno ()Ljava/lang/Iterable; Signature :()Ljava/lang/Iterable; siblings getPropListHeadForTesting 1()Lcom/google/javascript/rhino/Node$PropListItem; setPropListHead 2(Lcom/google/javascript/rhino/Node$PropListItem;)V getParent getGrandparent getAncestor getAncestors 5()Lcom/google/javascript/rhino/Node$AncestorIterable; hasOneChild hasTwoChildren hasZeroOrOneChild hasMoreThanOneChild hasXChildren c
getChildCount hasChild %(Lcom/google/javascript/rhino/Node;)Z checkTreeEquals 6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String; actual diff /Lcom/google/javascript/rhino/Node$NodeMismatch;? checkTreeEqualsIncludingJsDoc jsDocActual
jsDocExpected checkTreeEqualsImpl S(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node$NodeMismatch; T(Lcom/google/javascript/rhino/Node;Z)Lcom/google/javascript/rhino/Node$NodeMismatch;
expectedChild actualChild jsDoc res isEquivalentTo isEquivalentToShallow isEquivalentToTyped ((Lcom/google/javascript/rhino/Node;ZZZ)Z post1 post2 quoted1 quoted2 slashV1 slashV2 n2 compareType recurse thisTDN thatTDNc getQualifiedName builder getQualifiedNameForGetProp (I)Ljava/lang/StringBuilder; reserve propName
firstChild getOriginalQualifiedName isQualifiedName matchesQualifiedName (Ljava/lang/String;)Z (Ljava/lang/String;I)Z prop qname endIndex start isUnscopedQualifiedName isValidAssignmentTarget detachFromParent detach removeFirstChild removeChildren detachChildren nextChild removeChildAfter removeFirstOrChildAfter cloneNode %(Z)Lcom/google/javascript/rhino/Node; cloneTypeExprs copyNodeFields G(Lcom/google/javascript/rhino/Node;Z)Lcom/google/javascript/rhino/Node; info 'Lcom/google/javascript/rhino/JSDocInfo; dst LocalVariableTypeTable TT; /(TT;Z)TT; cloneTree n2clone lastChild 'useSourceInfoWithoutLengthIfMissingFrom
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated; .useSourceInfoWithoutLengthIfMissingFromForTree useSourceInfoFrom srcref useSourceInfoFromForTree
srcrefTree useSourceInfoIfMissingFrom !useSourceInfoIfMissingFromForTree getJSTypei setJSType .(Lcom/google/javascript/rhino/jstype/JSType;)V jsType +Lcom/google/javascript/rhino/jstype/JSType; getTypeI setTypeI &(Lcom/google/javascript/rhino/TypeI;)V
getTypeIIfOldj getJSDocInfo )()Lcom/google/javascript/rhino/JSDocInfo; setJSDocInfo K(Lcom/google/javascript/rhino/JSDocInfo;)Lcom/google/javascript/rhino/Node;
setChangeTime time
getChangeTime
setVarArgs (Z)V varArgs isVarArgs setOptionalArg optionalArg
isOptionalArg isOptionalEs6Typed setIsSyntheticBlock val isSyntheticBlock
setDirectives (Ljava/util/Set;)V Ljava/util/Set; #Ljava/util/Set; &(Ljava/util/Set;)V
getDirectives ()Ljava/util/Set; %()Ljava/util/Set; setIsAddedBlock isAddedBlock setStaticMember isStatic isStaticMember setIsGeneratorFunction isGenerator isGeneratorFunction setGeneratorMarker isGeneratorMarker setGeneratorSafe isGeneratorSafe setIsArrowFunction isArrow isArrowFunction setIsAsyncFunction isAsync isAsyncFunction setYieldFor
isYieldFor setSideEffectFlags flags 5(Lcom/google/javascript/rhino/Node$SideEffectFlags;)V 2Lcom/google/javascript/rhino/Node$SideEffectFlags; getSideEffectFlags isOnlyModifiesThisCall isOnlyModifiesArgumentsCall isNoSideEffectsCall isLocalResultCall mayMutateArguments mayMutateGlobalStateOrThrow areBitFlagsSet (II)Z isQuotedString setQuotedString isAdd isSub isAnd
isArrayLit isArrayPattern isAssign isAssignAdd isBlock isBreak isCall isCase isCast isCatch isClass isClassMembers isComma isComputedProp
isContinue isConst
isDebugger isDec
isDefaultCase isDefaultValue isDelProp isDestructuringLhs isDestructuringPattern isDo isEmpty isExport isExprResult isFalse isFor isForOf
isFunction isGetterDef isGetElem isGetProp isHook isIf isImport isImportSpec isIn isInc isInstanceOf isInterfaceMembers isRecordType isCallSignature isIndexSignature isLabel isLabelName isLet isMemberFunctionDef isMemberVariableDef isModuleBody isName isNE isNew isNot isNull isNumber isObjectLit isObjectPattern isOr isParamList isRegExp isRest isReturn isScript isSetterDef isSpread isString isStringKey isSuper isSwitch isTaggedTemplateLit
isTemplateLit isTemplateLitSub isThis isThrow isTrue isTry isTypeOf isVar isVoid isWhile isWith isYield
SourceFile Node.java com/google/javascript/rhino/Node
var_args_name
jsdoc_info incrdecr quoted opt_arg synthetic added_block originalname side_effect_flags is_constant_name is_namespace
directives direct_eval free_call source_file input_id slash_v inferred change_time reflected_object
static_member generator_fn arrow_fn async_fn yield_for export_default export_all_from is_constant_var is_generator_marker is_generator_safe raw_string_value computed_prop_method computed_prop_getter computed_prop_setter computed_prop_variable analyzed_during_gti constant_property_def declared_type_expr type_before_cast
opt_es6_typed generic_type
implements construct_signature access_modifier
non_indexable
parse_results goog_module goog_module_require feature_set is_module_name was_previously_provided is_es6_class
transpiled java/lang/IllegalStateException java/lang/StringBuilder? unexpected prop id RSR???????? new child has existing parentTUV?? #new child has existing next sibling?? 'new child has existing previous sibling?? #first new child has existing parent )first new child has existing next sibling -first new child has existing previous sibling $second new child has existing parent *second new child has existing next sibling .second new child has existing previous siblingUZ?? +com/google/javascript/rhino/Node$NumberNode?W +com/google/javascript/rhino/Node$StringNodeQX?YZ<=:7SO 9The existing child node of the parent should not be null. %The new child node has next siblings. )The new child node has previous siblings. (The new child node already has a parent.RO[ZJG?7[OE= *prev is doesn't have a sibling to replace. 'prev doesn't have a sibling to replace.??\?;? Node has existing properties.[Vko]^cd_`uva? missing prop: kl?????xyqr 4com/google/javascript/rhino/Node$TypeDeclarationNode 3com/google/javascript/rhino/Node$ObjectPropListItemb 0com/google/javascript/rhino/Node$IntPropListItemc?? )com/google/javascript/rhino/jstype/JSType !com/google/javascript/rhino/TypeIdefg? +Number node not created with Node.newNumber 'java/lang/UnsupportedOperationExceptionRh is not a number node is not a string node +String node not created with Node.newStringi?????Rj??k? ??Rl???
[length: ?? [ : ?? : ???? java/io/IOException java/lang/RuntimeException Should not happen
?? mRnRo ,com/google/javascript/rhino/SimpleSourceFilep??q? ,com/google/javascript/rhino/StaticSourceFile #com/google/javascript/rhino/InputId java/lang/Stringst|}r5?v?vsv???ltuj 4com/google/javascript/rhino/Node$SiblingNodeIterableG 1com/google/javascript/rhino/Node$AncestorIterable?? Node tree inequality:
Tree1:
??
Tree2:
Subtree1: v?
Subtree2: w???RS (none)x? Node tree inequality:
Tree:
JSDoc differs on subtree:
Expected JSDoc:
Actual JSDoc : %Node tree inequality:
Expected tree:
Actual tree:
Expected subtree:
Actual subtree: -com/google/javascript/rhino/Node$NodeMismatchO??yzG?{|}~?????????z5?????5 super??67?5?l????? .????125????????$5'7VG no next sibling.
invalid node../12?l???lNO????TU9/45??<=@=A=C=F= %com/google/javascript/rhino/JSDocInfo
java/util/Set?? ?setIsNoSideEffectsCall only supports CALL and NEW nodes, got %sU????l???? is not a StringNode???????????????????????????????????????????????5?5?????????????????????????????????????????????????????????????????????????????????????????????????????? java/lang/Object java/io/Serializable "com/google/javascript/rhino/Node$1 0com/google/javascript/rhino/Node$SideEffectFlags 5com/google/javascript/rhino/Node$AbstractPropListItem -com/google/javascript/rhino/Node$PropListItem !com/google/javascript/rhino/Token append -(Ljava/lang/String;)Ljava/lang/StringBuilder; $com/google/common/base/Preconditions
checkArgument (ZLjava/lang/Object;)V (DII)V STRING 8(Lcom/google/javascript/rhino/Token;Ljava/lang/String;)V :(Lcom/google/javascript/rhino/Token;Ljava/lang/String;II)V
checkState getType chain `(Lcom/google/javascript/rhino/Node$PropListItem;)Lcom/google/javascript/rhino/Node$PropListItem; getObjectValue ()Ljava/lang/Object; getIntValue E(ILjava/lang/Object;Lcom/google/javascript/rhino/Node$PropListItem;)V 4(IILcom/google/javascript/rhino/Node$PropListItem;)V java/util/Arrays sort ([I)V NUMBER -(Ljava/lang/Object;)Ljava/lang/StringBuilder; NAME (C)Ljava/lang/StringBuilder; FUNCTION (D)Ljava/lang/StringBuilder; java/lang/Appendable 0(Ljava/lang/CharSequence;)Ljava/lang/Appendable; (C)Ljava/lang/Appendable; (Ljava/lang/String;Z)V getName isExtern
getLineOffset java/util/Collections emptySet nodeExpected
nodeActual toStringVerbose getClass ()Ljava/lang/Class; isEquivalent Y(Lcom/google/javascript/rhino/jstype/JSType;Lcom/google/javascript/rhino/jstype/JSType;)Z
areEquivalent Q(Lcom/google/javascript/rhino/JSDocInfo;Lcom/google/javascript/rhino/JSDocInfo;)Z INC DEC
STRING_KEY CALL ,$SwitchMap$com$google$javascript$rhino$Token ordinal GETPROP THIS SUPER lastIndexOf
startsWith
regionMatches (ILjava/lang/String;II)Z equals (Ljava/lang/Object;)Z clone *(Z)Lcom/google/javascript/rhino/JSDocInfo; NEW ((ZLjava/lang/String;Ljava/lang/Object;)V valueOf ADD SUB AND ARRAYLIT
ARRAY_PATTERN ASSIGN
ASSIGN_ADD BLOCK BREAK CASE CAST CATCH CLASS
CLASS_MEMBERS COMMA
COMPUTED_PROP CONTINUE CONST DEBUGGER DEFAULT_CASE
DEFAULT_VALUE DELPROP DESTRUCTURING_LHS DO EMPTY EXPORT EXPR_RESULT FALSE FOR FOR_OF
GETTER_DEF GETELEM HOOK IF IMPORT IMPORT_SPEC IN
INSTANCEOF INTERFACE_MEMBERS RECORD_TYPE CALL_SIGNATURE INDEX_SIGNATURE LABEL
LABEL_NAME LET MEMBER_FUNCTION_DEF MEMBER_VARIABLE_DEF MODULE_BODY NE NOT NULL OBJECTLIT OBJECT_PATTERN OR
PARAM_LIST REGEXP REST RETURN SCRIPT
SETTER_DEF SPREAD SWITCH TAGGED_TEMPLATELIT TEMPLATELIT TEMPLATELIT_SUB THROW TRUE TRY TYPEOF VAR VOID WHILE WITH YIELD ! g h J yz { | ~ { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ? { ? ?? ?? ?? ?? ?? ? { ? ? { ? ? { ? ? ? ?? ?? ? { ? ? { ? ? { { { { { {
?? ? ] ? ? ? ? " % ( ? + . ? ? 1 ? 4 7 : = ? @ C F I L O R U X [ ^ a d g j ? ? ? m p s v y | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ???????? ?
???
??????????????????? ?!?"?#?$?%?&?'?(?)?*?+?,?-?.?/?0?1?2?3?4?5?6?? 7Y? 8Y? 9:? ;?