public static final class Node.TypeDeclarationNode extends Node
isShorthandPropertyNode.AncestorIterable, Node.SideEffectFlags, Node.TypeDeclarationNodeACCESS_MODIFIER, COLUMN_BITS, COLUMN_MASK, COMPUTED_PROP_GETTER, COMPUTED_PROP_METHOD, COMPUTED_PROP_SETTER, COMPUTED_PROP_VARIABLE, CONSTRUCT_SIGNATURE, DIRECT_EVAL, ES6_MODULE, EXPORT_ALL_FROM, EXPORT_DEFAULT, FEATURE_SET, FREE_CALL, GENERATOR_FN, GENERIC_TYPE_LIST, GOOG_MODULE, IMPLEMENTS, INCRDECR_PROP, IS_CONSTANT_NAME, IS_NAMESPACE, IS_SHORTHAND_PROPERTY, JSDOC_INFO_PROP, MAX_COLUMN_NUMBER, MODULE_ALIAS, MODULE_EXPORT, OPT_ES6_TYPED, ORIGINALNAME_PROP, parent, PARSE_RESULTS, QUOTED_PROP, REFLECTED_OBJECT, SLASH_V, STATIC_MEMBER, TRANSPILED, WAS_PREVIOUSLY_PROVIDED, YIELD_ALL| Constructor and Description |
|---|
TypeDeclarationNode(Token nodeType) |
TypeDeclarationNode(Token nodeType,
Node child) |
TypeDeclarationNode(Token nodeType,
java.lang.String str) |
| Modifier and Type | Method and Description |
|---|---|
Node.TypeDeclarationNode |
cloneNode(boolean cloneTypeExprs) |
java.lang.String |
getString()
returns the string content.
|
addChildAfter, addChildBefore, addChildrenAfter, addChildrenToBack, addChildrenToFront, addChildToBack, addChildToFront, appendStringTree, children, cloneNode, clonePropsFrom, cloneTree, cloneTree, detach, detachChildren, detachFromParent, extractCharno, extractLineno, getAncestor, getAncestors, getBooleanProp, getChangeTime, getCharno, getChildAtIndex, getChildBefore, getChildCount, getCookedString, getDeclaredTypeExpression, getDefineName, getDirectives, getDouble, getExistingIntProp, getFirstChild, getFirstFirstChild, getGrandparent, getIndexOfChild, getInputId, getIntProp, getJSDocInfo, getJSType, getJSTypeBeforeCast, getJSTypeRequired, getLastChild, getLength, getLineno, getNext, getNonJSDocComment, getNonJSDocCommentString, getOnlyChild, getOriginalName, getOriginalQualifiedName, getParent, getPrevious, getProp, getQualifiedName, getQualifiedNameObject, getRawString, getSecondChild, getSideEffectFlags, getSourceFileName, getSourceOffset, getSourcePosition, getStaticSourceFile, getToken, getTypedefTypeProp, hasChild, hasChildren, hasMoreThanOneChild, hasOneChild, hasProps, hasTrailingComma, hasTwoChildren, hasXChildren, hasZeroOrOneChild, isAdd, isAddedBlock, isAnd, isArrayLit, isArrayPattern, isArrowFunction, isAssign, isAssignAdd, isAsyncFunction, isAsyncGeneratorFunction, isAwait, isBlock, isBreak, isCall, isCallSignature, isCase, isCast, isCatch, isClass, isClassMembers, isComma, isComputedProp, isConst, isContinue, isDebugger, isDec, isDeclaredConstantVar, isDefaultCase, isDefaultValue, isDeleted, isDelProp, isDescendantOf, isDestructuringLhs, isDestructuringPattern, isDo, isEmpty, isEquivalentTo, isEquivalentTo, isEquivalentToShallow, isEquivalentToTyped, isEquivalentWithSideEffectsTo, isEquivalentWithSideEffectsToShallow, isExport, isExportSpec, isExportSpecs, isExprResult, isFalse, isFirstChildOf, isForAwaitOf, isForIn, isForOf, isFromExterns, isFunction, isGeneratorFunction, isGeneratorMarker, isGeneratorSafe, isGetElem, isGetProp, isGetterDef, isHook, isIf, isImport, isImportMeta, isImportSpec, isImportSpecs, isImportStar, isIn, isInc, isIndexable, isIndexSignature, isInferredConstantVar, isInstanceOf, isInterfaceMembers, isLabel, isLabelName, isLet, isLocalResultCall, isMemberFunctionDef, isMemberVariableDef, isModuleBody, isName, isNE, isNew, isNormalBlock, isNoSideEffectsCall, isNot, isNull, isNullishCoalesce, isNumber, isObjectLit, isObjectPattern, isObjectRest, isOnlyChildOf, isOnlyModifiesArgumentsCall, isOnlyModifiesThisCall, isOptChainCall, isOptChainGetElem, isOptChainGetProp, isOptionalArg, isOptionalChainStart, isOptionalEs6Typed, isOr, isParamList, isQualifiedName, isQuotedString, isRecordType, isRegExp, isRest, isReturn, isRoot, isScript, isSecondChildOf, isSetterDef, isShorthandProperty, isSpread, isStaticMember, isString, isStringKey, isSub, isSuper, isSwitch, isSyntheticBlock, isTaggedTemplateLit, isTemplateLit, isTemplateLitString, isTemplateLitSub, isThis, isThrow, isTrue, isTry, isTypeOf, isUnscopedQualifiedName, isUnusedParameter, isValidAssignmentTarget, isVanillaFor, isVar, isVarArgs, isVoid, isWhile, isWith, isYield, isYieldAll, makeNonIndexable, makeNonIndexableRecursive, matchesName, matchesName, matchesQualifiedName, matchesQualifiedName, mayMutateArguments, mayMutateGlobalStateOrThrow, mergeLineCharNo, newNumber, newNumber, newString, newString, newString, newString, newTemplateLitString, putBooleanProp, putIntProp, putProp, removeChild, removeChildAfter, removeChildren, removeFirstChild, removeFirstOrChildAfter, removeProp, replaceChild, replaceChildAfter, replaceFirstOrChildAfter, replaceWith, setChangeTime, setCharno, setDeclaredConstantVar, setDeclaredTypeExpression, setDefineName, setDeleted, setDirectives, setDouble, setGeneratorMarker, setGeneratorSafe, setInferredConstantVar, setInputId, setIsAddedBlock, setIsArrowFunction, setIsAsyncFunction, setIsGeneratorFunction, setIsOptionalChainStart, setIsSyntheticBlock, setJSDocInfo, setJSType, setJSTypeBeforeCast, setLength, setLengthForTree, setLineno, setNonJSDocComment, setOptionalArg, setOriginalName, setQuotedString, setShorthandProperty, setSideEffectFlags, setSideEffectFlags, setSourceEncodedPosition, setSourceEncodedPositionForTree, setSourceFileForTesting, setStaticMember, setStaticSourceFile, setStaticSourceFileFrom, setString, setToken, setTrailingComma, setTypedefTypeProp, setUnusedParameter, setVarArgs, setYieldAll, siblings, srcref, srcrefTree, toString, toString, toStringTree, useSourceInfoFrom, useSourceInfoFromForTree, useSourceInfoIfMissingFrom, useSourceInfoIfMissingFromForTreepublic TypeDeclarationNode(Token nodeType, java.lang.String str)
public TypeDeclarationNode(Token nodeType)
public java.lang.String getString()
public Node.TypeDeclarationNode cloneNode(boolean cloneTypeExprs)
Copyright © 2009-2020 Google. All Rights Reserved.