Home > vue-metamorph > builders
builders variable
AST Node builders
Signature:
typescript
builders: {
setParents(node: AST.Node): void;
vAttribute(key: AST.VAttribute["key"], value: AST.VAttribute["value"]): AST.VAttribute;
vDirective(key: AST.VDirective["key"], value: AST.VDirective["value"]): AST.VDirective;
vDirectiveKey(name: AST.VDirectiveKey["name"], argument?: AST.VDirectiveKey["argument"], modifiers?: AST.VDirectiveKey["modifiers"]): AST.VDirectiveKey;
vDocumentFragment(children: AST.VDocumentFragment["children"]): AST.VDocumentFragment;
vEndTag(): AST.VEndTag;
vElement(name: string, startTag: AST.VStartTag, children: AST.VElement["children"], namespace?: AST.VElement["namespace"]): AST.VElement;
vExpressionContainer(expression: AST.VExpressionContainer["expression"]): AST.VExpressionContainer;
vForExpression(left: AST.VForExpression["left"], right: AST.VForExpression["right"]): AST.VForExpression;
vIdentifier(name: AST.VIdentifier["name"], rawName?: AST.VIdentifier["rawName"]): AST.VIdentifier;
vLiteral(value: AST.VLiteral["value"]): AST.VLiteral;
vStartTag(attributes: AST.VStartTag["attributes"], selfClosing: AST.VStartTag["selfClosing"]): AST.VStartTag;
vText(value: AST.VText["value"]): AST.VText;
vOnExpression(body: AST.VOnExpression["body"]): AST.VOnExpression;
vFilterSequenceExpression(expression: AST.VFilterSequenceExpression["expression"], filters: AST.VFilterSequenceExpression["filters"]): AST.VFilterSequenceExpression;
vFilter(callee: AST.VFilter["callee"], args: AST.VFilter["arguments"]): AST.VFilter;
file: import("ast-types/gen/builders").FileBuilder;
program: import("ast-types/gen/builders").ProgramBuilder;
identifier: import("ast-types/gen/builders").IdentifierBuilder;
blockStatement: import("ast-types/gen/builders").BlockStatementBuilder;
emptyStatement: import("ast-types/gen/builders").EmptyStatementBuilder;
expressionStatement: import("ast-types/gen/builders").ExpressionStatementBuilder;
ifStatement: import("ast-types/gen/builders").IfStatementBuilder;
labeledStatement: import("ast-types/gen/builders").LabeledStatementBuilder;
breakStatement: import("ast-types/gen/builders").BreakStatementBuilder;
continueStatement: import("ast-types/gen/builders").ContinueStatementBuilder;
withStatement: import("ast-types/gen/builders").WithStatementBuilder;
switchStatement: import("ast-types/gen/builders").SwitchStatementBuilder;
switchCase: import("ast-types/gen/builders").SwitchCaseBuilder;
returnStatement: import("ast-types/gen/builders").ReturnStatementBuilder;
throwStatement: import("ast-types/gen/builders").ThrowStatementBuilder;
tryStatement: import("ast-types/gen/builders").TryStatementBuilder;
catchClause: import("ast-types/gen/builders").CatchClauseBuilder;
whileStatement: import("ast-types/gen/builders").WhileStatementBuilder;
doWhileStatement: import("ast-types/gen/builders").DoWhileStatementBuilder;
forStatement: import("ast-types/gen/builders").ForStatementBuilder;
variableDeclaration: import("ast-types/gen/builders").VariableDeclarationBuilder;
forInStatement: import("ast-types/gen/builders").ForInStatementBuilder;
debuggerStatement: import("ast-types/gen/builders").DebuggerStatementBuilder;
functionDeclaration: import("ast-types/gen/builders").FunctionDeclarationBuilder;
functionExpression: import("ast-types/gen/builders").FunctionExpressionBuilder;
variableDeclarator: import("ast-types/gen/builders").VariableDeclaratorBuilder;
thisExpression: import("ast-types/gen/builders").ThisExpressionBuilder;
arrayExpression: import("ast-types/gen/builders").ArrayExpressionBuilder;
objectExpression: import("ast-types/gen/builders").ObjectExpressionBuilder;
property: import("ast-types/gen/builders").PropertyBuilder;
literal: import("ast-types/gen/builders").LiteralBuilder;
sequenceExpression: import("ast-types/gen/builders").SequenceExpressionBuilder;
unaryExpression: import("ast-types/gen/builders").UnaryExpressionBuilder;
binaryExpression: import("ast-types/gen/builders").BinaryExpressionBuilder;
assignmentExpression: import("ast-types/gen/builders").AssignmentExpressionBuilder;
memberExpression: import("ast-types/gen/builders").MemberExpressionBuilder;
updateExpression: import("ast-types/gen/builders").UpdateExpressionBuilder;
logicalExpression: import("ast-types/gen/builders").LogicalExpressionBuilder;
conditionalExpression: import("ast-types/gen/builders").ConditionalExpressionBuilder;
newExpression: import("ast-types/gen/builders").NewExpressionBuilder;
callExpression: import("ast-types/gen/builders").CallExpressionBuilder;
restElement: import("ast-types/gen/builders").RestElementBuilder;
typeAnnotation: import("ast-types/gen/builders").TypeAnnotationBuilder;
tsTypeAnnotation: import("ast-types/gen/builders").TSTypeAnnotationBuilder;
spreadElementPattern: import("ast-types/gen/builders").SpreadElementPatternBuilder;
arrowFunctionExpression: import("ast-types/gen/builders").ArrowFunctionExpressionBuilder;
forOfStatement: import("ast-types/gen/builders").ForOfStatementBuilder;
yieldExpression: import("ast-types/gen/builders").YieldExpressionBuilder;
generatorExpression: import("ast-types/gen/builders").GeneratorExpressionBuilder;
comprehensionBlock: import("ast-types/gen/builders").ComprehensionBlockBuilder;
comprehensionExpression: import("ast-types/gen/builders").ComprehensionExpressionBuilder;
objectProperty: import("ast-types/gen/builders").ObjectPropertyBuilder;
propertyPattern: import("ast-types/gen/builders").PropertyPatternBuilder;
objectPattern: import("ast-types/gen/builders").ObjectPatternBuilder;
arrayPattern: import("ast-types/gen/builders").ArrayPatternBuilder;
spreadElement: import("ast-types/gen/builders").SpreadElementBuilder;
assignmentPattern: import("ast-types/gen/builders").AssignmentPatternBuilder;
methodDefinition: import("ast-types/gen/builders").MethodDefinitionBuilder;
classPropertyDefinition: import("ast-types/gen/builders").ClassPropertyDefinitionBuilder;
classProperty: import("ast-types/gen/builders").ClassPropertyBuilder;
classBody: import("ast-types/gen/builders").ClassBodyBuilder;
classDeclaration: import("ast-types/gen/builders").ClassDeclarationBuilder;
classExpression: import("ast-types/gen/builders").ClassExpressionBuilder;
super: import("ast-types/gen/builders").SuperBuilder;
importSpecifier: import("ast-types/gen/builders").ImportSpecifierBuilder;
importDefaultSpecifier: import("ast-types/gen/builders").ImportDefaultSpecifierBuilder;
importNamespaceSpecifier: import("ast-types/gen/builders").ImportNamespaceSpecifierBuilder;
importDeclaration: import("ast-types/gen/builders").ImportDeclarationBuilder;
exportNamedDeclaration: import("ast-types/gen/builders").ExportNamedDeclarationBuilder;
exportSpecifier: import("ast-types/gen/builders").ExportSpecifierBuilder;
exportDefaultDeclaration: import("ast-types/gen/builders").ExportDefaultDeclarationBuilder;
exportAllDeclaration: import("ast-types/gen/builders").ExportAllDeclarationBuilder;
taggedTemplateExpression: import("ast-types/gen/builders").TaggedTemplateExpressionBuilder;
templateLiteral: import("ast-types/gen/builders").TemplateLiteralBuilder;
templateElement: import("ast-types/gen/builders").TemplateElementBuilder;
metaProperty: import("ast-types/gen/builders").MetaPropertyBuilder;
awaitExpression: import("ast-types/gen/builders").AwaitExpressionBuilder;
spreadProperty: import("ast-types/gen/builders").SpreadPropertyBuilder;
spreadPropertyPattern: import("ast-types/gen/builders").SpreadPropertyPatternBuilder;
importExpression: import("ast-types/gen/builders").ImportExpressionBuilder;
chainExpression: import("ast-types/gen/builders").ChainExpressionBuilder;
optionalCallExpression: import("ast-types/gen/builders").OptionalCallExpressionBuilder;
optionalMemberExpression: import("ast-types/gen/builders").OptionalMemberExpressionBuilder;
jsxAttribute: import("ast-types/gen/builders").JSXAttributeBuilder;
jsxIdentifier: import("ast-types/gen/builders").JSXIdentifierBuilder;
jsxNamespacedName: import("ast-types/gen/builders").JSXNamespacedNameBuilder;
jsxExpressionContainer: import("ast-types/gen/builders").JSXExpressionContainerBuilder;
jsxElement: import("ast-types/gen/builders").JSXElementBuilder;
jsxFragment: import("ast-types/gen/builders").JSXFragmentBuilder;
jsxMemberExpression: import("ast-types/gen/builders").JSXMemberExpressionBuilder;
jsxSpreadAttribute: import("ast-types/gen/builders").JSXSpreadAttributeBuilder;
jsxEmptyExpression: import("ast-types/gen/builders").JSXEmptyExpressionBuilder;
jsxText: import("ast-types/gen/builders").JSXTextBuilder;
jsxSpreadChild: import("ast-types/gen/builders").JSXSpreadChildBuilder;
jsxOpeningElement: import("ast-types/gen/builders").JSXOpeningElementBuilder;
jsxClosingElement: import("ast-types/gen/builders").JSXClosingElementBuilder;
jsxOpeningFragment: import("ast-types/gen/builders").JSXOpeningFragmentBuilder;
jsxClosingFragment: import("ast-types/gen/builders").JSXClosingFragmentBuilder;
decorator: import("ast-types/gen/builders").DecoratorBuilder;
privateName: import("ast-types/gen/builders").PrivateNameBuilder;
classPrivateProperty: import("ast-types/gen/builders").ClassPrivatePropertyBuilder;
typeParameterDeclaration: import("ast-types/gen/builders").TypeParameterDeclarationBuilder;
tsTypeParameterDeclaration: import("ast-types/gen/builders").TSTypeParameterDeclarationBuilder;
typeParameterInstantiation: import("ast-types/gen/builders").TypeParameterInstantiationBuilder;
tsTypeParameterInstantiation: import("ast-types/gen/builders").TSTypeParameterInstantiationBuilder;
classImplements: import("ast-types/gen/builders").ClassImplementsBuilder;
tsExpressionWithTypeArguments: import("ast-types/gen/builders").TSExpressionWithTypeArgumentsBuilder;
anyTypeAnnotation: import("ast-types/gen/builders").AnyTypeAnnotationBuilder;
emptyTypeAnnotation: import("ast-types/gen/builders").EmptyTypeAnnotationBuilder;
mixedTypeAnnotation: import("ast-types/gen/builders").MixedTypeAnnotationBuilder;
voidTypeAnnotation: import("ast-types/gen/builders").VoidTypeAnnotationBuilder;
symbolTypeAnnotation: import("ast-types/gen/builders").SymbolTypeAnnotationBuilder;
numberTypeAnnotation: import("ast-types/gen/builders").NumberTypeAnnotationBuilder;
bigIntTypeAnnotation: import("ast-types/gen/builders").BigIntTypeAnnotationBuilder;
numberLiteralTypeAnnotation: import("ast-types/gen/builders").NumberLiteralTypeAnnotationBuilder;
numericLiteralTypeAnnotation: import("ast-types/gen/builders").NumericLiteralTypeAnnotationBuilder;
bigIntLiteralTypeAnnotation: import("ast-types/gen/builders").BigIntLiteralTypeAnnotationBuilder;
stringTypeAnnotation: import("ast-types/gen/builders").StringTypeAnnotationBuilder;
stringLiteralTypeAnnotation: import("ast-types/gen/builders").StringLiteralTypeAnnotationBuilder;
booleanTypeAnnotation: import("ast-types/gen/builders").BooleanTypeAnnotationBuilder;
booleanLiteralTypeAnnotation: import("ast-types/gen/builders").BooleanLiteralTypeAnnotationBuilder;
nullableTypeAnnotation: import("ast-types/gen/builders").NullableTypeAnnotationBuilder;
nullLiteralTypeAnnotation: import("ast-types/gen/builders").NullLiteralTypeAnnotationBuilder;
nullTypeAnnotation: import("ast-types/gen/builders").NullTypeAnnotationBuilder;
thisTypeAnnotation: import("ast-types/gen/builders").ThisTypeAnnotationBuilder;
existsTypeAnnotation: import("ast-types/gen/builders").ExistsTypeAnnotationBuilder;
existentialTypeParam: import("ast-types/gen/builders").ExistentialTypeParamBuilder;
functionTypeAnnotation: import("ast-types/gen/builders").FunctionTypeAnnotationBuilder;
functionTypeParam: import("ast-types/gen/builders").FunctionTypeParamBuilder;
arrayTypeAnnotation: import("ast-types/gen/builders").ArrayTypeAnnotationBuilder;
objectTypeAnnotation: import("ast-types/gen/builders").ObjectTypeAnnotationBuilder;
objectTypeProperty: import("ast-types/gen/builders").ObjectTypePropertyBuilder;
objectTypeSpreadProperty: import("ast-types/gen/builders").ObjectTypeSpreadPropertyBuilder;
objectTypeIndexer: import("ast-types/gen/builders").ObjectTypeIndexerBuilder;
objectTypeCallProperty: import("ast-types/gen/builders").ObjectTypeCallPropertyBuilder;
objectTypeInternalSlot: import("ast-types/gen/builders").ObjectTypeInternalSlotBuilder;
variance: import("ast-types/gen/builders").VarianceBuilder;
qualifiedTypeIdentifier: import("ast-types/gen/builders").QualifiedTypeIdentifierBuilder;
genericTypeAnnotation: import("ast-types/gen/builders").GenericTypeAnnotationBuilder;
memberTypeAnnotation: import("ast-types/gen/builders").MemberTypeAnnotationBuilder;
unionTypeAnnotation: import("ast-types/gen/builders").UnionTypeAnnotationBuilder;
intersectionTypeAnnotation: import("ast-types/gen/builders").IntersectionTypeAnnotationBuilder;
typeofTypeAnnotation: import("ast-types/gen/builders").TypeofTypeAnnotationBuilder;
typeParameter: import("ast-types/gen/builders").TypeParameterBuilder;
interfaceTypeAnnotation: import("ast-types/gen/builders").InterfaceTypeAnnotationBuilder;
interfaceExtends: import("ast-types/gen/builders").InterfaceExtendsBuilder;
interfaceDeclaration: import("ast-types/gen/builders").InterfaceDeclarationBuilder;
declareInterface: import("ast-types/gen/builders").DeclareInterfaceBuilder;
typeAlias: import("ast-types/gen/builders").TypeAliasBuilder;
declareTypeAlias: import("ast-types/gen/builders").DeclareTypeAliasBuilder;
opaqueType: import("ast-types/gen/builders").OpaqueTypeBuilder;
declareOpaqueType: import("ast-types/gen/builders").DeclareOpaqueTypeBuilder;
typeCastExpression: import("ast-types/gen/builders").TypeCastExpressionBuilder;
tupleTypeAnnotation: import("ast-types/gen/builders").TupleTypeAnnotationBuilder;
declareVariable: import("ast-types/gen/builders").DeclareVariableBuilder;
declareFunction: import("ast-types/gen/builders").DeclareFunctionBuilder;
declareClass: import("ast-types/gen/builders").DeclareClassBuilder;
declareModule: import("ast-types/gen/builders").DeclareModuleBuilder;
declareModuleExports: import("ast-types/gen/builders").DeclareModuleExportsBuilder;
declareExportDeclaration: import("ast-types/gen/builders").DeclareExportDeclarationBuilder;
exportBatchSpecifier: import("ast-types/gen/builders").ExportBatchSpecifierBuilder;
declareExportAllDeclaration: import("ast-types/gen/builders").DeclareExportAllDeclarationBuilder;
inferredPredicate: import("ast-types/gen/builders").InferredPredicateBuilder;
declaredPredicate: import("ast-types/gen/builders").DeclaredPredicateBuilder;
enumDeclaration: import("ast-types/gen/builders").EnumDeclarationBuilder;
enumBooleanBody: import("ast-types/gen/builders").EnumBooleanBodyBuilder;
enumNumberBody: import("ast-types/gen/builders").EnumNumberBodyBuilder;
enumStringBody: import("ast-types/gen/builders").EnumStringBodyBuilder;
enumSymbolBody: import("ast-types/gen/builders").EnumSymbolBodyBuilder;
enumBooleanMember: import("ast-types/gen/builders").EnumBooleanMemberBuilder;
enumNumberMember: import("ast-types/gen/builders").EnumNumberMemberBuilder;
enumStringMember: import("ast-types/gen/builders").EnumStringMemberBuilder;
enumDefaultedMember: import("ast-types/gen/builders").EnumDefaultedMemberBuilder;
exportDeclaration: import("ast-types/gen/builders").ExportDeclarationBuilder;
block: import("ast-types/gen/builders").BlockBuilder;
line: import("ast-types/gen/builders").LineBuilder;
noop: import("ast-types/gen/builders").NoopBuilder;
doExpression: import("ast-types/gen/builders").DoExpressionBuilder;
bindExpression: import("ast-types/gen/builders").BindExpressionBuilder;
parenthesizedExpression: import("ast-types/gen/builders").ParenthesizedExpressionBuilder;
exportNamespaceSpecifier: import("ast-types/gen/builders").ExportNamespaceSpecifierBuilder;
exportDefaultSpecifier: import("ast-types/gen/builders").ExportDefaultSpecifierBuilder;
commentBlock: import("ast-types/gen/builders").CommentBlockBuilder;
commentLine: import("ast-types/gen/builders").CommentLineBuilder;
directive: import("ast-types/gen/builders").DirectiveBuilder;
directiveLiteral: import("ast-types/gen/builders").DirectiveLiteralBuilder;
interpreterDirective: import("ast-types/gen/builders").InterpreterDirectiveBuilder;
stringLiteral: import("ast-types/gen/builders").StringLiteralBuilder;
numericLiteral: import("ast-types/gen/builders").NumericLiteralBuilder;
bigIntLiteral: import("ast-types/gen/builders").BigIntLiteralBuilder;
nullLiteral: import("ast-types/gen/builders").NullLiteralBuilder;
booleanLiteral: import("ast-types/gen/builders").BooleanLiteralBuilder;
regExpLiteral: import("ast-types/gen/builders").RegExpLiteralBuilder;
objectMethod: import("ast-types/gen/builders").ObjectMethodBuilder;
classMethod: import("ast-types/gen/builders").ClassMethodBuilder;
classPrivateMethod: import("ast-types/gen/builders").ClassPrivateMethodBuilder;
restProperty: import("ast-types/gen/builders").RestPropertyBuilder;
forAwaitStatement: import("ast-types/gen/builders").ForAwaitStatementBuilder;
import: import("ast-types/gen/builders").ImportBuilder;
tsQualifiedName: import("ast-types/gen/builders").TSQualifiedNameBuilder;
tsTypeReference: import("ast-types/gen/builders").TSTypeReferenceBuilder;
tsAsExpression: import("ast-types/gen/builders").TSAsExpressionBuilder;
tsNonNullExpression: import("ast-types/gen/builders").TSNonNullExpressionBuilder;
tsAnyKeyword: import("ast-types/gen/builders").TSAnyKeywordBuilder;
tsBigIntKeyword: import("ast-types/gen/builders").TSBigIntKeywordBuilder;
tsBooleanKeyword: import("ast-types/gen/builders").TSBooleanKeywordBuilder;
tsNeverKeyword: import("ast-types/gen/builders").TSNeverKeywordBuilder;
tsNullKeyword: import("ast-types/gen/builders").TSNullKeywordBuilder;
tsNumberKeyword: import("ast-types/gen/builders").TSNumberKeywordBuilder;
tsObjectKeyword: import("ast-types/gen/builders").TSObjectKeywordBuilder;
tsStringKeyword: import("ast-types/gen/builders").TSStringKeywordBuilder;
tsSymbolKeyword: import("ast-types/gen/builders").TSSymbolKeywordBuilder;
tsUndefinedKeyword: import("ast-types/gen/builders").TSUndefinedKeywordBuilder;
tsUnknownKeyword: import("ast-types/gen/builders").TSUnknownKeywordBuilder;
tsVoidKeyword: import("ast-types/gen/builders").TSVoidKeywordBuilder;
tsThisType: import("ast-types/gen/builders").TSThisTypeBuilder;
tsArrayType: import("ast-types/gen/builders").TSArrayTypeBuilder;
tsLiteralType: import("ast-types/gen/builders").TSLiteralTypeBuilder;
tsUnionType: import("ast-types/gen/builders").TSUnionTypeBuilder;
tsIntersectionType: import("ast-types/gen/builders").TSIntersectionTypeBuilder;
tsConditionalType: import("ast-types/gen/builders").TSConditionalTypeBuilder;
tsInferType: import("ast-types/gen/builders").TSInferTypeBuilder;
tsTypeParameter: import("ast-types/gen/builders").TSTypeParameterBuilder;
tsParenthesizedType: import("ast-types/gen/builders").TSParenthesizedTypeBuilder;
tsFunctionType: import("ast-types/gen/builders").TSFunctionTypeBuilder;
tsConstructorType: import("ast-types/gen/builders").TSConstructorTypeBuilder;
tsDeclareFunction: import("ast-types/gen/builders").TSDeclareFunctionBuilder;
tsDeclareMethod: import("ast-types/gen/builders").TSDeclareMethodBuilder;
tsMappedType: import("ast-types/gen/builders").TSMappedTypeBuilder;
tsTupleType: import("ast-types/gen/builders").TSTupleTypeBuilder;
tsNamedTupleMember: import("ast-types/gen/builders").TSNamedTupleMemberBuilder;
tsRestType: import("ast-types/gen/builders").TSRestTypeBuilder;
tsOptionalType: import("ast-types/gen/builders").TSOptionalTypeBuilder;
tsIndexedAccessType: import("ast-types/gen/builders").TSIndexedAccessTypeBuilder;
tsTypeOperator: import("ast-types/gen/builders").TSTypeOperatorBuilder;
tsIndexSignature: import("ast-types/gen/builders").TSIndexSignatureBuilder;
tsPropertySignature: import("ast-types/gen/builders").TSPropertySignatureBuilder;
tsMethodSignature: import("ast-types/gen/builders").TSMethodSignatureBuilder;
tsTypePredicate: import("ast-types/gen/builders").TSTypePredicateBuilder;
tsCallSignatureDeclaration: import("ast-types/gen/builders").TSCallSignatureDeclarationBuilder;
tsConstructSignatureDeclaration: import("ast-types/gen/builders").TSConstructSignatureDeclarationBuilder;
tsEnumMember: import("ast-types/gen/builders").TSEnumMemberBuilder;
tsTypeQuery: import("ast-types/gen/builders").TSTypeQueryBuilder;
tsImportType: import("ast-types/gen/builders").TSImportTypeBuilder;
tsTypeLiteral: import("ast-types/gen/builders").TSTypeLiteralBuilder;
tsTypeAssertion: import("ast-types/gen/builders").TSTypeAssertionBuilder;
tsEnumDeclaration: import("ast-types/gen/builders").TSEnumDeclarationBuilder;
tsTypeAliasDeclaration: import("ast-types/gen/builders").TSTypeAliasDeclarationBuilder;
tsModuleBlock: import("ast-types/gen/builders").TSModuleBlockBuilder;
tsModuleDeclaration: import("ast-types/gen/builders").TSModuleDeclarationBuilder;
tsImportEqualsDeclaration: import("ast-types/gen/builders").TSImportEqualsDeclarationBuilder;
tsExternalModuleReference: import("ast-types/gen/builders").TSExternalModuleReferenceBuilder;
tsExportAssignment: import("ast-types/gen/builders").TSExportAssignmentBuilder;
tsNamespaceExportDeclaration: import("ast-types/gen/builders").TSNamespaceExportDeclarationBuilder;
tsInterfaceBody: import("ast-types/gen/builders").TSInterfaceBodyBuilder;
tsInterfaceDeclaration: import("ast-types/gen/builders").TSInterfaceDeclarationBuilder;
tsParameterProperty: import("ast-types/gen/builders").TSParameterPropertyBuilder;
}