Package com.google.javascript.rhino
Class Node.TypeDeclarationNode
- java.lang.Object
-
- com.google.javascript.rhino.Node
-
- com.google.javascript.rhino.Node.TypeDeclarationNode
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Node
public static final class Node.TypeDeclarationNode extends Node
Represents a node in the type declaration AST.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.javascript.rhino.Node
Node.AncestorIterable, Node.SideEffectFlags, Node.TypeDeclarationNode
-
-
Field Summary
-
Fields inherited from class com.google.javascript.rhino.Node
ACCESS_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 Summary
Constructors Constructor Description TypeDeclarationNode(Token nodeType)
TypeDeclarationNode(Token nodeType, Node child)
TypeDeclarationNode(Token nodeType, java.lang.String str)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node.TypeDeclarationNode
cloneNode(boolean cloneTypeExprs)
java.lang.String
getString()
returns the string content.-
Methods inherited from class com.google.javascript.rhino.Node
addChildAfter, addChildBefore, addChildrenAfter, addChildrenToBack, addChildrenToFront, addChildToBack, addChildToFront, appendStringTree, children, cloneNode, clonePropsFrom, cloneTree, cloneTree, copyTypeFrom, detach, detachChildren, detachFromParent, extractCharno, extractLineno, getAncestor, getAncestors, getBigInt, getBooleanProp, getChangeTime, getCharno, getChildAtIndex, getChildBefore, getChildCount, getColor, getCookedString, getDeclaredTypeExpression, getDefineName, getDirectives, getDouble, getExistingIntProp, getFirstChild, getFirstFirstChild, getGetpropString, getGetpropStringNode, getGrandparent, getIndexOfChild, getInputId, getIntProp, getIsParenthesized, getJSDocInfo, getJSType, getJSTypeBeforeCast, getJSTypeRequired, getLastChild, getLength, getLineno, getLocation, getNext, getNonJSDocComment, getNonJSDocCommentString, getOnlyChild, getOriginalName, getOriginalQualifiedName, getParent, getPrevious, getProp, getQualifiedName, getQualifiedNameObject, getRawString, getSecondChild, getSideEffectFlags, getSourceFileName, getSourceOffset, getSourcePosition, getStaticSourceFile, getToken, getTypedefTypeProp, hasChild, hasChildren, hasMoreThanOneChild, hasOneChild, hasParent, hasProps, hasTrailingComma, hasTwoChildren, hasXChildren, hasZeroOrOneChild, isAdd, isAddedBlock, isAnd, isArrayLit, isArrayPattern, isArrowFunction, isAssign, isAssignAdd, isAssignExponent, isAsyncFunction, isAsyncGeneratorFunction, isAwait, isBigInt, isBlock, isBreak, isCall, isCallSignature, isCase, isCast, isCatch, isClass, isClassMembers, isColorFromTypeCast, isComma, isComputedProp, isConst, isContinue, isDebugger, isDec, isDeclaredConstantVar, isDefaultCase, isDefaultValue, isDeleted, isDelProp, isDescendantOf, isDestructuringLhs, isDestructuringPattern, isDo, isEmpty, isEquivalentTo, isEquivalentTo, isEquivalentToShallow, isEquivalentToTyped, isEquivalentWithSideEffectsTo, isEquivalentWithSideEffectsToShallow, isExponent, isExport, isExportSpec, isExportSpecs, isExprResult, isFalse, isFirstChildOf, isForAwaitOf, isForIn, isForOf, isFromExterns, isFunction, isGeneratorFunction, isGeneratorMarker, isGeneratorSafe, isGetElem, isGetProp, isGetpropButNotStringGetprop, isGetterDef, isHook, isIf, isImport, isImportMeta, isImportSpec, isImportSpecs, isImportStar, isIn, isInc, isIndexable, isIndexSignature, isInferredConstantVar, isInstanceOf, isInterfaceMembers, isLabel, isLabelName, isLet, isMemberFunctionDef, isMemberVariableDef, isModuleBody, isName, isNE, isNew, isNormalBlock, isNoSideEffectsCall, isNot, isNull, isNullishCoalesce, isNumber, isObjectLit, isObjectPattern, isObjectRest, isOnlyChildOf, isOnlyModifiesArgumentsCall, isOnlyModifiesThisCall, isOptChainCall, isOptChainGetElem, isOptChainGetProp, isOptionalChainStart, isOptionalEs6Typed, isOr, isParamList, isQualifiedName, isQuotedString, isRecordType, isRegExp, isRest, isReturn, isRoot, isScript, isSecondChildOf, isSetterDef, isShorthandProperty, isSpread, isStaticMember, isString, isStringGetprop, isStringKey, isSub, isSuper, isSwitch, isSyntheticBlock, isTaggedTemplateLit, isTemplateLit, isTemplateLitString, isTemplateLitSub, isThis, isThrow, isTrue, isTry, isTypeOf, isUnscopedQualifiedName, isUnusedParameter, isValidAssignmentTarget, isVanillaFor, isVar, isVoid, isWhile, isWith, isYield, isYieldAll, makeNonIndexable, makeNonIndexableRecursive, matchesName, matchesName, matchesQualifiedName, matchesQualifiedName, mayMutateArguments, mayMutateGlobalStateOrThrow, mergeLineCharNo, newBigInt, newNumber, newNumber, newString, newString, newString, newString, newTemplateLitString, putBooleanProp, putIntProp, putProp, removeChild, removeChildAfter, removeChildren, removeFirstChild, removeFirstOrChildAfter, removeProp, replaceChild, replaceChildAfter, replaceFirstOrChildAfter, replaceWith, setBigInt, setChangeTime, setCharno, setColor, setColorFromTypeCast, setDeclaredConstantVar, setDeclaredTypeExpression, setDefineName, setDeleted, setDirectives, setDouble, setGeneratorMarker, setGeneratorSafe, setGetpropString, setInferredConstantVar, setInputId, setIsAddedBlock, setIsArrowFunction, setIsAsyncFunction, setIsGeneratorFunction, setIsOptionalChainStart, setIsParenthesized, setIsSyntheticBlock, setJSDocInfo, setJSType, setJSTypeBeforeCast, setLength, setLengthForTree, setLineno, setNonJSDocComment, setOriginalName, setQuotedString, setShorthandProperty, setSideEffectFlags, setSideEffectFlags, setSourceFileForTesting, setStaticMember, setStaticSourceFile, setStaticSourceFileFrom, setString, setToken, setTrailingComma, setTypedefTypeProp, setUnusedParameter, setYieldAll, srcref, srcrefTree, toString, toString, toStringTree, useSourceInfoFrom, useSourceInfoFromForTree, useSourceInfoIfMissingFrom, useSourceInfoIfMissingFromForTree
-
-
-
-
Method Detail
-
getString
public java.lang.String getString()
returns the string content.
-
cloneNode
public Node.TypeDeclarationNode cloneNode(boolean cloneTypeExprs)
-
-