public static final class Node.TypeDeclarationNode extends Node
Node.AncestorIterable, Node.SideEffectFlags, Node.TypeDeclarationNodeACCESS_MODIFIER, ADDED_BLOCK, ANALYZED_DURING_GTI, ARROW_FN, ASYNC_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, DELETED, DIRECT_EVAL, DIRECTIVES, EXPORT_ALL_FROM, EXPORT_DEFAULT, FEATURE_SET, 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, GOOG_MODULE, GOOG_MODULE_ALIAS, GOOG_MODULE_REQUIRE, IMPLEMENTS, INCRDECR_PROP, INFERRED_FUNCTION, INPUT_ID, IS_CONSTANT_NAME, IS_CONSTANT_VAR, IS_ES6_CLASS, IS_MODULE_NAME, IS_NAMESPACE, JSDOC_INFO_PROP, MAX_COLUMN_NUMBER, NO_SIDE_EFFECTS, NON_INDEXABLE, OPT_ARG_NAME, OPT_ES6_TYPED, ORIGINALNAME_PROP, parent, PARSE_RESULTS, 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, TRANSPILED, TYPE_BEFORE_CAST, VAR_ARGS_NAME, WAS_PREVIOUSLY_PROVIDED, YIELD_ALL| Constructor and Description |
|---|
TypeDeclarationNode(Token nodeType) |
TypeDeclarationNode(Token nodeType,
Node child) |
TypeDeclarationNode(Token nodeType,
String str) |
| Modifier and Type | Method and Description |
|---|---|
Node.TypeDeclarationNode |
cloneNode(boolean cloneTypeExprs) |
String |
getString()
returns the string content.
|
addChildAfter, addChildBefore, addChildrenAfter, addChildrenToBack, addChildrenToFront, addChildToBack, addChildToFront, appendStringTree, checkTreeEquals, checkTreeEqualsIncludingJsDoc, children, cloneNode, clonePropsFrom, cloneTree, cloneTree, detach, 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, getLength, getLineno, getNext, getOriginalName, getOriginalQualifiedName, getParent, getPrevious, getProp, getQualifiedName, getSecondChild, getSideEffectFlags, getSourceFileName, getSourceOffset, getSourcePosition, getStaticSourceFile, getToken, getTypeI, getTypeIBeforeCast, getTypeIIfOld, hasChild, hasChildren, hasMoreThanOneChild, hasOneChild, hasProps, hasTwoChildren, hasXChildren, hasZeroOrOneChild, isAdd, isAddedBlock, isAnd, isArrayLit, isArrayPattern, isArrowFunction, isAssign, isAssignAdd, isAsyncFunction, isBreak, isCall, isCallSignature, isCase, isCast, isCatch, isClass, isClassMembers, isComma, isComputedProp, isConst, isContinue, isDebugger, isDec, isDefaultCase, isDefaultValue, isDeleted, isDelProp, isDescendantOf, isDestructuringLhs, isDestructuringPattern, isDo, isEmpty, isEquivalentTo, isEquivalentTo, isEquivalentToShallow, isEquivalentToTyped, isEquivalentWithSideEffectsTo, isEquivalentWithSideEffectsToShallow, isExport, isExportSpec, isExprResult, isFalse, isFor, isForIn, isForOf, isFromExterns, isFunction, isGeneratorFunction, isGeneratorMarker, isGeneratorSafe, isGetElem, isGetProp, isGetterDef, isHook, isIf, isImport, isImportSpec, isImportSpecs, isImportStar, isIn, isInc, isIndexable, isIndexSignature, isInstanceOf, isInterfaceMembers, isLabel, isLabelName, isLet, isLocalResultCall, isMemberFunctionDef, isMemberVariableDef, isModuleBody, isName, isNE, isNew, isNormalBlock, isNoSideEffectsCall, isNot, isNull, isNumber, isObjectLit, isObjectPattern, isOnlyModifiesArgumentsCall, isOnlyModifiesThisCall, isOptionalArg, isOptionalEs6Typed, isOr, isParamList, isQualifiedName, isQuotedString, isRecordType, isRegExp, isRest, isReturn, isRoot, isScript, isSetterDef, isSpread, isStaticMember, isString, isStringKey, isSub, isSuper, isSwitch, isSyntheticBlock, isTaggedTemplateLit, isTemplateLit, isTemplateLitSub, isThis, isThrow, isTrue, isTry, isTypeOf, isUnscopedQualifiedName, isValidAssignmentTarget, isVanillaFor, isVar, isVarArgs, isVoid, isWhile, isWith, isYield, isYieldAll, makeNonIndexable, matchesQualifiedName, matchesQualifiedName, mayMutateArguments, mayMutateGlobalStateOrThrow, mergeLineCharNo, newNumber, newNumber, newString, newString, newString, newString, putBooleanProp, putIntProp, putProp, removeChild, removeChildAfter, removeChildren, removeFirstChild, removeFirstOrChildAfter, removeProp, replaceChild, replaceChildAfter, replaceFirstOrChildAfter, replaceWith, setChangeTime, setCharno, setDeclaredTypeExpression, setDeleted, setDirectives, setDouble, setGeneratorMarker, setGeneratorSafe, setInputId, setIsAddedBlock, setIsArrowFunction, setIsAsyncFunction, setIsGeneratorFunction, setIsSyntheticBlock, setJSDocInfo, setJSType, setLength, setLineno, setOptionalArg, setOriginalName, setQuotedString, setSideEffectFlags, setSideEffectFlags, setSourceEncodedPosition, setSourceEncodedPositionForTree, setSourceFileForTesting, setStaticMember, setStaticSourceFile, setStaticSourceFileFrom, setString, setToken, setTypeI, setVarArgs, setYieldAll, siblings, srcref, srcrefTree, toString, toString, toStringTree, useSourceInfoFrom, useSourceInfoFromForTree, useSourceInfoIfMissingFrom, useSourceInfoIfMissingFromForTree, useSourceInfoWithoutLengthIfMissingFrom, useSourceInfoWithoutLengthIfMissingFromForTreepublic TypeDeclarationNode(Token nodeType)
public String getString()
public Node.TypeDeclarationNode cloneNode(boolean cloneTypeExprs)
Copyright © 2009-2017 Google. All Rights Reserved.