public static class Node.TypeDeclarationNode extends Node
Node.AncestorIterable, Node.SideEffectFlags, Node.TypeDeclarationNode
ACCESS_MODIFIER, ADDED_BLOCK, ANALYZED_DURING_GTI, ARROW_FN, CHANGE_TIME, COLUMN_BITS, COLUMN_MASK, COMPUTED_PROP_GETTER, COMPUTED_PROP_METHOD, COMPUTED_PROP_SETTER, COMPUTED_PROP_VARIABLE, CONSTANT_PROPERTY_DEF, CONSTRUCT_SIGNATURE, DECLARED_TYPE_EXPR, DIRECT_EVAL, DIRECTIVES, EXPORT_ALL_FROM, EXPORT_DEFAULT, FLAG_ARGUMENTS_UNMODIFIED, FLAG_GLOBAL_STATE_UNMODIFIED, FLAG_LOCAL_RESULTS, FLAG_NO_THROWS, FLAG_THIS_UNMODIFIED, FREE_CALL, GENERATOR_FN, GENERATOR_MARKER, GENERATOR_SAFE, GENERIC_TYPE_LIST, IMPLEMENTS, INCRDECR_PROP, INFERRED_FUNCTION, INPUT_ID, IS_CONSTANT_NAME, IS_CONSTANT_VAR, IS_NAMESPACE, JSDOC_INFO_PROP, LENGTH, MAX_COLUMN_NUMBER, NO_SIDE_EFFECTS, NON_INDEXABLE, OPT_ARG_NAME, OPT_ES6_TYPED, ORIGINALNAME_PROP, QUOTED_PROP, RAW_STRING_VALUE, REFLECTED_OBJECT, SIDE_EFFECT_FLAGS, SIDE_EFFECTS_ALL, SIDE_EFFECTS_FLAGS_MASK, SLASH_V, STATIC_MEMBER, STATIC_SOURCE_FILE, SYNTHETIC_BLOCK_PROP, TYPE_BEFORE_CAST, VAR_ARGS_NAME, YIELD_FOR
Constructor and Description |
---|
TypeDeclarationNode(int nodeType) |
TypeDeclarationNode(int nodeType,
Node child) |
TypeDeclarationNode(int nodeType,
Node left,
Node right) |
TypeDeclarationNode(int nodeType,
Node left,
Node mid,
Node right) |
TypeDeclarationNode(int nodeType,
String str) |
Modifier and Type | Method and Description |
---|---|
Node.TypeDeclarationNode |
cloneNode() |
String |
getString()
returns the string content.
|
addChildAfter, addChildBefore, addChildrenAfter, addChildrenToBack, addChildrenToFront, addChildToBack, addChildToFront, appendStringTree, checkTreeEquals, checkTreeEqualsIncludingJsDoc, children, clonePropsFrom, cloneTree, copyInformationFrom, copyInformationFromForTree, detachChildren, detachFromParent, extractCharno, extractLineno, getAncestor, getAncestors, getBooleanProp, getChangeTime, getCharno, getChildAtIndex, getChildBefore, getChildCount, getDeclaredTypeExpression, getDirectives, getDouble, getExistingIntProp, getFirstChild, getFirstFirstChild, getGrandparent, getIndexOfChild, getInputId, getIntProp, getJSDocInfo, getJSType, getJSTypeBeforeCast, getLastChild, getLastSibling, getLength, getLineno, getNext, getOriginalName, getParent, getProp, getQualifiedName, getSecondChild, getSideEffectFlags, getSourceFileName, getSourceOffset, getSourcePosition, getStaticSourceFile, getType, getTypeI, hasChild, hasChildren, hasMoreThanOneChild, hasOneChild, hasProps, isAdd, isAddedBlock, isAnd, isArrayLit, isArrayPattern, isArrowFunction, isAssign, isAssignAdd, isBlock, isBreak, isCall, isCallSignature, isCase, isCast, isCatch, isClass, isClassMembers, isComma, isComputedProp, isConst, isContinue, isDebugger, isDec, isDefaultCase, isDefaultValue, isDelProp, isDestructuringPattern, isDo, isEmpty, isEquivalentTo, isEquivalentToShallow, isEquivalentToTyped, isExport, isExprResult, isFalse, isFor, isForOf, isFromExterns, isFunction, isGeneratorFunction, isGeneratorMarker, isGeneratorSafe, isGetElem, isGetProp, isGetterDef, isHook, isIf, isImport, isImportSpec, isIn, isInc, isIndexable, isIndexSignature, isInstanceOf, isInterfaceMembers, isLabel, isLabelName, isLet, isLocalResultCall, isMemberFunctionDef, isMemberVariableDef, isName, isNE, isNew, isNoSideEffectsCall, isNot, isNull, isNumber, isObjectLit, isObjectPattern, isOnlyModifiesArgumentsCall, isOnlyModifiesThisCall, isOptionalArg, isOptionalEs6Typed, isOr, isParamList, isQualifiedName, isQuotedString, isRecordType, isRegExp, isRest, isReturn, isScript, isSetterDef, isSpread, isStaticMember, isString, isStringKey, isSuper, isSwitch, isSyntheticBlock, isTaggedTemplateLit, isTemplateLit, isTemplateLitSub, isThis, isThrow, isTrue, isTry, isTypeOf, isUnscopedQualifiedName, isValidAssignmentTarget, isVar, isVarArgs, isVoid, isWhile, isWith, isYield, isYieldFor, makeNonIndexable, matchesQualifiedName, matchesQualifiedName, mayMutateArguments, mayMutateGlobalStateOrThrow, mergeLineCharNo, newNumber, newNumber, newString, newString, newString, newString, putBooleanProp, putIntProp, putProp, removeChild, removeChildAfter, removeChildren, removeFirstChild, removeProp, replaceChild, replaceChildAfter, setChangeTime, setCharno, setDeclaredTypeExpression, setDirectives, setDouble, setGeneratorMarker, setGeneratorSafe, setInputId, setIsAddedBlock, setIsArrowFunction, setIsGeneratorFunction, setIsSyntheticBlock, setJSDocInfo, setJSType, setLength, setLineno, setOptionalArg, setOriginalName, setQuotedString, setSideEffectFlags, setSideEffectFlags, setSourceEncodedPosition, setSourceEncodedPositionForTree, setSourceFileForTesting, setStaticMember, setStaticSourceFile, setString, setType, setTypeI, setVarArgs, setYieldFor, siblings, srcref, srcrefTree, toString, toString, toStringTree, useSourceInfoFrom, useSourceInfoFromForTree, useSourceInfoIfMissingFrom, useSourceInfoIfMissingFromForTree
Copyright © 2009–2023 Google. All rights reserved.