class AstCreator extends AstCreatorBase with AstForExpressionsCreator with AstForPrimitivesCreator with AstForTypesCreator with AstForFunctionsCreator with AstForDeclarationsCreator with AstForStatementsCreator with AstNodeBuilder with AstCreatorHelper

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AstCreator
  2. AstCreatorHelper
  3. AstNodeBuilder
  4. AstForStatementsCreator
  5. AstForDeclarationsCreator
  6. AstForFunctionsCreator
  7. AstForTypesCreator
  8. AstForPrimitivesCreator
  9. AstForExpressionsCreator
  10. AstCreatorBase
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AstCreator(config: Config, parserResult: ParseResult, global: Global)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def absolutePath(filename: String): String
    Definition Classes
    AstCreator → AstCreatorBase
  5. def addModifier(node: NewNode, json: Value): Unit
    Attributes
    protected
    Definition Classes
    AstForTypesCreator
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def astForArrayExpression(arrExpr: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForExpressionsCreator
  8. def astForAssignmentExpression(assignment: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForExpressionsCreator
  9. def astForAwaitExpression(awaitExpr: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForExpressionsCreator
  10. def astForBigIntLiteral(bigIntLiteral: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForPrimitivesCreator
  11. def astForBinaryExpression(binExpr: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForExpressionsCreator
  12. def astForBlockStatement(block: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForStatementsCreator
  13. def astForBooleanLiteral(booleanLiteral: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForPrimitivesCreator
  14. def astForBreakStatement(breakStmt: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForStatementsCreator
  15. def astForCallExpression(callExpr: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForExpressionsCreator
  16. def astForClass(clazz: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForTypesCreator
  17. def astForConditionalExpression(ternary: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForExpressionsCreator
  18. def astForContinueStatement(continueStmt: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForStatementsCreator
  19. def astForDecimalLiteral(decimalLiteral: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForPrimitivesCreator
  20. def astForDeconstruction(pattern: BabelNodeInfo, sourceAst: Ast, paramName: Option[String] = None): Ast
    Attributes
    protected
    Definition Classes
    AstForDeclarationsCreator
  21. def astForDoWhileStatement(doWhileStmt: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForStatementsCreator
  22. def astForExpressionStatement(exprStmt: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForExpressionsCreator
  23. def astForForStatement(forStmt: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForStatementsCreator
  24. def astForFunctionDeclaration(func: BabelNodeInfo, shouldCreateFunctionReference: Boolean = false, shouldCreateAssignmentCall: Boolean = false): Ast
    Attributes
    protected
    Definition Classes
    AstForFunctionsCreator
  25. def astForIdentifier(ident: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForPrimitivesCreator
  26. def astForIfStatement(ifStmt: BabelNodeInfo): Ast
    Definition Classes
    AstForStatementsCreator
  27. def astForImportDeclaration(impDecl: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForDeclarationsCreator
  28. def astForInOfStatement(forInOfStmt: BabelNodeInfo): Ast

    De-sugaring from:

    De-sugaring from:

    for (var i in/of arr) { body }

    to:

    { var _iterator = Object.keys(arr)[Symbol.iterator](); var _result; var i; while (!(_result = _iterator.next()).done) { i = _result.value; body } }

    Attributes
    protected
    Definition Classes
    AstForStatementsCreator
  29. def astForInterface(tsInterface: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForTypesCreator
  30. def astForMemberExpression(memberExpr: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForExpressionsCreator
  31. def astForModule(tsModuleDecl: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForTypesCreator
  32. def astForNewExpression(newExpr: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForExpressionsCreator
  33. def astForNode(json: Value): Ast
    Attributes
    protected
  34. def astForNodeWithFunctionReference(json: Value): Ast
    Attributes
    protected
  35. def astForNodes(jsons: List[Value]): List[Ast]
    Attributes
    protected
  36. def astForNullLiteral(nullLiteral: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForPrimitivesCreator
  37. def astForNumberLiteral(numberLiteral: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForPrimitivesCreator
  38. def astForNumericLiteral(numericLiteral: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForPrimitivesCreator
  39. def astForObjectExpression(objExpr: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForExpressionsCreator
  40. def astForRegExpLiteral(regExpLiteral: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForPrimitivesCreator
  41. def astForRegexLiteral(regexLiteral: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForPrimitivesCreator
  42. def astForReturnStatement(ret: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForStatementsCreator
  43. def astForSequenceExpression(seq: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForExpressionsCreator
  44. def astForStringLiteral(stringLiteral: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForPrimitivesCreator
  45. def astForSwitchStatement(switchStmt: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForStatementsCreator
  46. def astForTemplateElement(templateElement: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForPrimitivesCreator
  47. def astForTemplateExpression(templateExpr: BabelNodeInfo): Ast
    Definition Classes
    AstForExpressionsCreator
  48. def astForTemplateLiteral(templateLiteral: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForPrimitivesCreator
  49. def astForThisExpression(thisExpr: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForExpressionsCreator
  50. def astForThrowStatement(throwStmt: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForStatementsCreator
  51. def astForTryStatement(tryStmt: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForStatementsCreator
  52. def astForUnaryExpression(unaryExpr: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForExpressionsCreator
  53. def astForUpdateExpression(updateExpr: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForExpressionsCreator
  54. def astForVariableDeclaration(declaration: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForDeclarationsCreator
  55. def astForWhileStatement(whileStmt: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstForStatementsCreator
  56. def calcMethodNameAndFullName(func: BabelNodeInfo): (String, String)
    Attributes
    protected
    Definition Classes
    AstCreatorHelper
  57. def calcTypeNameAndFullName(classNode: BabelNodeInfo): (String, String)
    Attributes
    protected
    Definition Classes
    AstCreatorHelper
  58. def callAst(callNode: NewCall, arguments: List[Ast], receiver: Option[Ast]): Ast
    Definition Classes
    AstCreatorBase
  59. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  60. def code(node: Value): String
    Attributes
    protected
    Definition Classes
    AstCreatorHelper
  61. def codeOf(node: NewNode): String
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  62. def column(node: Value): Option[Integer]
    Attributes
    protected
    Definition Classes
    AstCreatorHelper
  63. def columnEnd(node: Value): Option[Integer]
    Attributes
    protected
    Definition Classes
    AstCreatorHelper
  64. val config: Config
  65. def convertDestructingObjectElementWithDefault(element: BabelNodeInfo, key: BabelNodeInfo, localTmpName: String): Ast
    Attributes
    protected
    Definition Classes
    AstForDeclarationsCreator
  66. def createAssignmentCallAst(destId: NewNode, sourceId: NewNode, code: String, line: Option[Integer], column: Option[Integer]): Ast
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  67. def createAst(): DiffGraphBuilder
    Definition Classes
    AstCreator → AstCreatorBase
  68. def createBabelNodeInfo(json: Value): BabelNodeInfo
    Attributes
    protected
    Definition Classes
    AstCreatorHelper
  69. def createBindingNode(): NewBinding
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  70. def createBlockNode(code: String, line: Option[Integer], column: Option[Integer]): NewBlock
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  71. def createBlockStatementAsts(json: Value): List[Ast]
    Attributes
    protected
    Definition Classes
    AstForStatementsCreator
  72. def createCallAst(callNode: NewCall, arguments: List[Ast], receiver: Option[Ast] = None): Ast
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  73. def createCallNode(code: String, callName: String, dispatchType: String, line: Option[Integer], column: Option[Integer]): NewCall
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  74. def createClosureBindingNode(closureBindingId: String, closureOriginalName: String): NewClosureBinding
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  75. def createControlStructureNode(node: BabelNodeInfo, controlStructureType: String): NewControlStructure
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  76. def createDependencyNode(name: String, groupId: String, version: String): NewDependency
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  77. def createEqualsCallAst(destId: NewNode, sourceId: NewNode, line: Option[Integer], column: Option[Integer]): Ast
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  78. def createFieldAccessCallAst(baseNode: NewNode, partNode: NewNode, line: Option[Integer], column: Option[Integer]): Ast
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  79. def createFieldIdentifierNode(name: String, line: Option[Integer], column: Option[Integer]): NewFieldIdentifier
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  80. def createFunctionTypeAndTypeDeclAst(methodNode: NewMethod, parentNode: NewNode, methodName: String, methodFullName: String, filename: String): Ast
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  81. def createIdentifierNode(name: String, dynamicTypeOption: Option[String], line: Option[Integer], column: Option[Integer]): NewIdentifier
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  82. def createIdentifierNode(name: String, node: BabelNodeInfo): NewIdentifier
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  83. def createImportNode(impDecl: BabelNodeInfo, importedEntity: Option[String], importedAs: String): NewImport
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  84. def createIndexAccessCallAst(baseNode: NewNode, partNode: NewNode, line: Option[Integer], column: Option[Integer]): Ast
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  85. def createJumpTarget(switchCase: BabelNodeInfo): NewJumpTarget
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  86. def createLiteralNode(code: String, dynamicTypeOption: Option[String], line: Option[Integer], column: Option[Integer]): NewLiteral
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  87. def createLocalNode(name: String, typeFullName: String, closureBindingId: Option[String] = None): NewLocal
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  88. def createMemberNode(name: String, code: String, dynamicTypeOption: Option[String]): NewMember
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  89. def createMethodAstAndNode(func: BabelNodeInfo, shouldCreateFunctionReference: Boolean = false, shouldCreateAssignmentCall: Boolean = false): (Ast, NewMethod)
    Attributes
    protected
    Definition Classes
    AstForFunctionsCreator
  90. def createMethodDefinitionNode(func: BabelNodeInfo): NewMethod
    Attributes
    protected
    Definition Classes
    AstForFunctionsCreator
  91. def createMethodNode(methodName: String, methodFullName: String, func: BabelNodeInfo): NewMethod
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  92. def createMethodRefNode(code: String, methodFullName: String, func: BabelNodeInfo): NewMethodRef
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  93. def createMethodReturnNode(func: BabelNodeInfo): NewMethodReturn
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  94. def createParameterInNode(name: String, code: String, index: Int, isVariadic: Boolean, line: Option[Integer], column: Option[Integer], tpe: Option[String] = None): NewMethodParameterIn
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  95. def createReturnAst(returnNode: NewReturn, arguments: List[Ast] = List()): Ast
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  96. def createReturnNode(ret: BabelNodeInfo): NewReturn
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  97. def createStaticCallNode(code: String, methodName: String, fullName: String, line: Option[Integer], column: Option[Integer]): NewCall
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  98. def createTernaryCallAst(testNode: NewNode, trueNode: NewNode, falseNode: NewNode, line: Option[Integer], column: Option[Integer]): Ast
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  99. def createTypeDeclNode(name: String, fullname: String, filename: String, code: String, astParentType: String = "", astParentFullName: String = "", inherits: Seq[String] = Seq.empty, alias: Option[String] = None, line: Option[Integer] = None, column: Option[Integer] = None): NewTypeDecl
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  100. def createTypeNode(name: String, fullName: String): NewType
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  101. def createTypeRefNode(code: String, typeFullName: String, classNode: BabelNodeInfo): NewTypeRef
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  102. def createVariableReferenceLinks(): Unit
    Attributes
    protected
    Definition Classes
    AstCreatorHelper
  103. val diffGraph: DiffGraphBuilder
    Definition Classes
    AstCreatorBase
  104. val dynamicInstanceTypeStack: ListBuffer[String]
    Attributes
    protected
  105. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  106. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  107. val functionFullNames: HashSet[String]
    Attributes
    protected
  108. val functionNodeToNameAndFullName: HashMap[BabelNodeInfo, (String, String)]
    Attributes
    protected
  109. def generateUnusedVariableName(usedVariableNames: HashMap[String, Int], usedIdentNodes: Set[String], variableName: String): String
    Attributes
    protected
    Definition Classes
    AstCreatorHelper
  110. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  111. val global: Global
  112. def globalNamespaceBlock(): NewNamespaceBlock
    Definition Classes
    AstCreatorBase
  113. def hasKey(node: Value, key: String): Boolean
    Attributes
    protected
    Definition Classes
    AstCreatorHelper
  114. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  115. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  116. def line(node: Value): Option[Integer]
    Attributes
    protected
    Definition Classes
    AstCreatorHelper
  117. def lineEnd(node: Value): Option[Integer]
    Attributes
    protected
    Definition Classes
    AstCreatorHelper
  118. val localAstParentStack: ListBuffer[NewBlock]
    Attributes
    protected
  119. val logger: Logger
    Attributes
    protected
  120. val metaTypeRefIdStack: ListBuffer[NewTypeRef]
    Attributes
    protected
  121. def methodAst(method: NewMethod, parameters: Seq[NewMethodParameterIn], body: Ast, methodReturn: NewMethodReturn): Ast
    Definition Classes
    AstCreatorBase
  122. val methodAstParentStack: ListBuffer[NewNode]
    Attributes
    protected
  123. def methodReturnNode(line: Option[Integer], column: Option[Integer], tfn: String, dtfn: Option[String]): NewMethodReturn
    Definition Classes
    AstCreatorBase
  124. def methodStubAst(method: NewMethod, parameters: Seq[NewMethodParameterIn], methodReturn: NewMethodReturn): Ast
    Definition Classes
    AstCreatorBase
  125. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  126. def newUnknown(node: BabelNodeInfo): NewUnknown
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  127. def notHandledYet(node: BabelNodeInfo): Ast
    Attributes
    protected
    Definition Classes
    AstCreatorHelper
  128. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  129. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  130. val parserResult: ParseResult
  131. def positionLookupTables(source: String): (SortedMap[Int, Int], SortedMap[Int, Int])
    Attributes
    protected
    Definition Classes
    AstCreatorHelper
  132. val positionToFirstPositionInLineMapping: SortedMap[Int, Int]
    Attributes
    protected
  133. val positionToLineNumberMapping: SortedMap[Int, Int]
    Attributes
    protected
  134. def registerType(typeName: String): Unit
    Attributes
    protected
    Definition Classes
    AstCreatorHelper
  135. def safeObj(node: Value, key: String): Option[LinkedHashMap[String, Value]]
    Attributes
    protected
    Definition Classes
    AstCreatorHelper
  136. val scope: Scope
    Attributes
    protected
  137. def setIndices(asts: List[Ast], receiver: Option[Ast] = None): Unit
    Attributes
    protected
    Definition Classes
    AstNodeBuilder
  138. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  139. def toString(): String
    Definition Classes
    AnyRef → Any
  140. val typeFullNameToPostfix: HashMap[String, Int]
    Attributes
    protected
  141. val typeToNameAndFullName: HashMap[BabelNodeInfo, (String, String)]
    Attributes
    protected
  142. val usedVariableNames: HashMap[String, Int]
    Attributes
    protected
  143. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  144. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  145. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  146. def withIndex[T, X](nodes: Array[T])(f: (T, Int) => X): Seq[X]
    Definition Classes
    AstCreatorBase
  147. def withIndex[T, X](nodes: Seq[T])(f: (T, Int) => X): Seq[X]
    Definition Classes
    AstCreatorBase

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AstCreatorHelper

Inherited from AstNodeBuilder

Inherited from AstForFunctionsCreator

Inherited from AstForTypesCreator

Inherited from AstCreatorBase

Inherited from AnyRef

Inherited from Any

Ungrouped