Packages

package cst

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. final case class Annotation(name: QualifiedName, elementValuePairs: List[ElementValuePair], elementValue: Option[ElementValue]) extends CST with Product with Serializable
  2. final case class AnnotationElementValue(annotation: Annotation) extends ElementValue with Product with Serializable
  3. final case class ApexConstructorDeclaration(_modifiers: ModifierResults, qualifiedName: QualifiedName, parameters: Array[ParameterDeclaration], block: Block) extends ClassBodyDeclaration with ApexConstructorLike with Product with Serializable
  4. final case class ApexFieldDeclaration(outerTypeId: TypeId, _modifiers: ModifierResults, typeName: TypeName, variableDeclarator: VariableDeclarator) extends ClassBodyDeclaration with ApexFieldLike with Product with Serializable
  5. final case class ApexInitialiserBlock(_modifiers: ModifierResults, block: Block) extends ClassBodyDeclaration with ApexBlockLike with Product with Serializable
  6. final class ApexMethodDeclaration extends ClassBodyDeclaration with ApexMethodLike
  7. final case class ApexPropertyDeclaration(outerTypeId: TypeId, _modifiers: ModifierResults, typeName: TypeName, id: Id, propertyBlocks: Seq[PropertyBlock]) extends ClassBodyDeclaration with ApexFieldLike with Product with Serializable
  8. final case class ArrayCreatorRest(expressions: Option[Expression], arrayInitializer: Option[ArrayInitializer]) extends CreatorRest with Product with Serializable
  9. final case class ArrayExpression(expression: Expression, arrayExpression: Expression) extends Expression with Product with Serializable
  10. final case class ArrayInitializer(expressions: Array[Expression]) extends CST with Product with Serializable
  11. final case class ArrayInitializerElementValue(arrayInitializer: ElementValueArrayInitializer) extends ElementValue with Product with Serializable
  12. trait AssignableSupport extends AnyRef
  13. final case class BasicForControl(forInit: Option[ForInit], expression: Option[Expression], forUpdate: Option[ForUpdate]) extends ForControl with Product with Serializable
  14. final case class BinaryExpression(lhs: Expression, rhs: Expression, op: String) extends Expression with Product with Serializable
  15. trait Block extends CST with Statement
  16. abstract class BlockVerifyContext extends VerifyContext
  17. class BodyDeclarationVerifyContext extends HolderVerifyContext with VerifyContext
  18. final case class BooleanLiteral(value: String) extends Literal with Product with Serializable
  19. final case class BreakStatement() extends CST with Statement with Product with Serializable
  20. class CST extends Locatable

    Base for all CST nodes, provides some basic location handling.

    Base for all CST nodes, provides some basic location handling.

    This is mutable for historic reasons, you must call withContext() on all CST nodes for them to pick up the location information from the parser. It also supports lines & column adjustments for when we re-parse blocks, see LazyBlock for details.

  21. class CSTException extends Exception
  22. case class CSTParsingContext(path: PathLike, lineAdjust: Int = 0, columnAdjust: Int = 0) extends Product with Serializable
  23. final case class CastExpression(typeName: TypeName, expression: Expression) extends Expression with Product with Serializable
  24. final case class CatchClause(modifiers: ModifierResults, qname: QualifiedName, id: String, block: Block) extends CST with Product with Serializable
  25. abstract class ClassBodyDeclaration extends CST with DependencyHolder
  26. final case class ClassCreatorRest(arguments: Array[Expression]) extends CreatorRest with Product with Serializable
  27. final case class ClassDeclaration(_source: Source, _pkg: PackageImpl, _typeName: TypeName, _outerTypeName: Option[TypeName], _id: Id, _modifiers: ModifierResults, _extendsType: Option[TypeName], _implementsTypes: Array[TypeName], _bodyDeclarations: Array[ClassBodyDeclaration]) extends FullDeclaration with Product with Serializable
  28. class CompilationUnit extends CST
  29. final case class ContinueStatement() extends CST with Statement with Product with Serializable
  30. final case class CreatedName(idPairs: List[IdCreatedNamePair]) extends CST with Product with Serializable
  31. final case class Creator(createdName: CreatedName, creatorRest: CreatorRest) extends CST with Product with Serializable
  32. sealed abstract class CreatorRest extends CST
  33. final case class DeleteStatement(expression: Expression) extends CST with Statement with Product with Serializable
  34. final case class DoWhileStatement(statement: Statement, expression: Expression) extends CST with Statement with Product with Serializable
  35. final case class DotExpression(expression: Expression, target: Either[Id, MethodCall]) extends Expression with Product with Serializable
  36. final case class EagerBlock(statements: Seq[Statement]) extends CST with Block with Product with Serializable
  37. sealed abstract class ElementValue extends CST
  38. final case class ElementValueArrayInitializer(elementValues: List[ElementValue]) extends CST with Product with Serializable
  39. final case class ElementValuePair(id: String, elementValue: ElementValue) extends CST with Product with Serializable
  40. final case class EnhancedForControl(typeName: TypeName, id: Id, expression: Expression) extends ForControl with Product with Serializable
  41. final case class EnumDeclaration(_source: Source, _pkg: PackageImpl, _typeName: TypeName, _outerTypeName: Option[TypeName], _id: Id, _modifiers: ModifierResults, _bodyDeclarations: Array[ClassBodyDeclaration]) extends FullDeclaration with Product with Serializable
  42. trait ExprContext extends AnyRef
  43. sealed abstract class Expression extends CST
  44. final case class ExpressionElementValue(expression: Expression) extends ElementValue with Product with Serializable
  45. final case class ExpressionListForInit(expressions: Seq[Expression]) extends ForInit with Product with Serializable
  46. final case class ExpressionPrimary(expression: Expression) extends Primary with Product with Serializable
  47. final case class ExpressionStatement(expression: Expression) extends CST with Statement with Product with Serializable
  48. class ExpressionVerifyContext extends VerifyContext
  49. sealed abstract class ForControl extends CST
  50. sealed abstract class ForInit extends CST
  51. final case class ForStatement(control: ForControl, statement: Statement) extends CST with Statement with Product with Serializable
  52. final case class ForUpdate(expressions: Seq[Expression]) extends CST with Product with Serializable
  53. final case class FormalParameter(pkg: PackageImpl, outerTypeName: TypeName, modifiers: ModifierResults, relativeTypeName: RelativeTypeName, id: Id) extends CST with ParameterDeclaration with Product with Serializable
  54. final case class GetterPropertyBlock(modifiers: ModifierResults, block: Option[Block]) extends PropertyBlock with Product with Serializable
  55. trait HolderVerifyContext extends AnyRef
  56. final case class Id(name: Name) extends CST with Product with Serializable
  57. final case class IdCreatedNamePair(id: Id, types: Array[TypeName]) extends CST with Product with Serializable
  58. final case class IdPrimary(id: Id) extends Primary with Product with Serializable
  59. final case class IfStatement(expression: Expression, statements: Seq[Statement]) extends CST with Statement with Product with Serializable
  60. class InnerBlockVerifyContext extends BlockVerifyContext
  61. final case class InsertStatement(expression: Expression) extends CST with Statement with Product with Serializable
  62. final case class InstanceOfExpression(expression: Expression, typeName: TypeName) extends Expression with Product with Serializable
  63. final case class IntegerLiteral(value: String) extends Literal with Product with Serializable
  64. final case class InterfaceDeclaration(_source: Source, _pkg: PackageImpl, _typeName: TypeName, _outerTypeName: Option[TypeName], _id: Id, _modifiers: ModifierResults, _implementsTypes: Array[TypeName], _bodyDeclarations: Array[ClassBodyDeclaration]) extends FullDeclaration with Product with Serializable
  65. final case class LazyBlock(source: Source, blockContextRef: WeakReference[BlockContext]) extends CST with Block with Product with Serializable
  66. sealed abstract class Literal extends CST
  67. final case class LiteralPrimary(literal: Literal) extends Primary with Product with Serializable
  68. final case class LocalVariableDeclaration(modifiers: ModifierResults, typeName: TypeName, variableDeclarators: VariableDeclarators) extends CST with Product with Serializable
  69. final case class LocalVariableDeclarationStatement(localVariableDeclaration: LocalVariableDeclaration) extends CST with Statement with Product with Serializable
  70. final case class LocalVariableForInit(variable: LocalVariableDeclaration) extends ForInit with Product with Serializable
  71. final case class MapCreatorRest(pairs: List[MapCreatorRestPair]) extends CreatorRest with Product with Serializable
  72. final case class MapCreatorRestPair(from: Expression, to: Expression) extends CST with Product with Serializable
  73. final case class MergeStatement(expression1: Expression, expression2: Expression) extends CST with Statement with Product with Serializable
  74. final case class MethodCall(target: Either[Boolean, Id], arguments: Array[Expression]) extends Expression with Product with Serializable
  75. final case class MethodMap(methodsByName: Map[(Name, Int), Array[MethodDeclaration]], errors: List[Issue]) extends AssignableSupport with Product with Serializable
  76. sealed abstract class Modifier extends AnyRef
  77. case class ModifierResults(modifiers: Array[Modifier], issues: Array[Issue]) extends Product with Serializable

    Results from modifier analysis.

    Results from modifier analysis.

    Modifiers are examined before the CST is constructed to make things a bit simpler. The results of the analysis are returned via this type. Interning is supported to reduce memory use.

  78. final case class NegationExpression(expression: Expression, isBitwise: Boolean) extends Expression with Product with Serializable
  79. final case class NewExpression(creator: Creator) extends Expression with Product with Serializable
  80. final class NoRest extends CreatorRest
  81. final case class NullLiteral() extends Literal with Product with Serializable
  82. final case class NumberLiteral(value: String) extends Literal with Product with Serializable
  83. abstract class Operation extends AssignableSupport
  84. class OuterBlockVerifyContext extends BlockVerifyContext
  85. final case class PostfixExpression(expression: Expression, op: String) extends Expression with Product with Serializable
  86. final case class PrefixExpression(expression: Expression, op: String) extends Expression with Product with Serializable
  87. sealed abstract class Primary extends CST
  88. final case class PrimaryExpression(primary: Primary) extends Expression with Product with Serializable
  89. sealed abstract class PropertyBlock extends CST
  90. final case class QualifiedName(names: List[Name]) extends CST with Product with Serializable
  91. final case class QueryExpression(query: Expression, lhs: Expression, rhs: Expression) extends Expression with Product with Serializable
  92. final case class ReturnStatement(expression: Option[Expression]) extends CST with Statement with Product with Serializable
  93. final case class RunAsStatement(expressions: Array[Expression], block: Option[Block]) extends CST with Statement with Product with Serializable
  94. final case class SOQL(soql: String) extends Primary with Product with Serializable
  95. final case class SetCreatorRest(parts: Seq[Expression]) extends CreatorRest with Product with Serializable
  96. final case class SetterPropertyBlock(modifiers: ModifierResults, typeName: TypeName, block: Option[Block]) extends PropertyBlock with Product with Serializable
  97. trait Statement extends CST
  98. final case class StringLiteral(value: String) extends Literal with Product with Serializable
  99. final case class SuperPrimary() extends Primary with Product with Serializable
  100. final case class ThisPrimary() extends Primary with Product with Serializable
  101. final case class ThrowStatement(expression: Expression) extends CST with Statement with Product with Serializable
  102. final case class TryStatement(block: Block, catches: Seq[CatchClause], finallyBlock: Option[Block]) extends CST with Statement with Product with Serializable
  103. final case class TypeArguments(typeList: List[TypeName]) extends CST with Product with Serializable
  104. case class TypeExprContext(isStatic: Option[Boolean], declaration: Option[TypeDeclaration]) extends ExprContext with Product with Serializable
  105. final case class TypeReferencePrimary(typeName: TypeName) extends Primary with Product with Serializable
  106. class TypeVerifyContext extends HolderVerifyContext with VerifyContext
  107. final case class UndeleteStatement(expression: Expression) extends CST with Statement with Product with Serializable
  108. class UnusedLog extends IssueLog
  109. final case class UpdateStatement(expression: Expression) extends CST with Statement with Product with Serializable
  110. final case class UpsertStatement(expression: Expression, field: Option[QualifiedName]) extends CST with Statement with Product with Serializable
  111. final case class VariableDeclarator(typeName: TypeName, id: Id, init: Option[Expression]) extends CST with Product with Serializable
  112. final case class VariableDeclarators(declarators: List[VariableDeclarator]) extends CST with Product with Serializable
  113. trait VerifyContext extends AnyRef
  114. final case class WhileStatement(expression: Expression, statement: Statement) extends CST with Statement with Product with Serializable

Value Members

  1. object ABSTRACT_MODIFIER extends Modifier with Product with Serializable
  2. object AURA_ENABLED_ANNOTATION extends Modifier with Product with Serializable
  3. object Annotation extends Serializable
  4. object ApexConstructorDeclaration extends Serializable
  5. object ApexFieldDeclaration extends Serializable
  6. object ApexInitialiserBlock extends Serializable
  7. object ApexMethodDeclaration
  8. object ApexModifiers
  9. object ApexPropertyDeclaration extends Serializable
  10. object Arguments
  11. object ArithmeticAddSubtractAssignmentOperation extends Operation with Product with Serializable
  12. object ArithmeticMultiplyDivideAssignmentOperation extends Operation with Product with Serializable
  13. object ArithmeticOperation extends Operation with Product with Serializable
  14. object ArrayCreatorRest extends Serializable
  15. object ArrayInitializer extends Serializable
  16. object AssignableSupport
  17. object AssignmentOperation extends Operation with Product with Serializable
  18. object BasicForControl extends Serializable
  19. object BitwiseAssignmentOperation extends Operation with Product with Serializable
  20. object BitwiseOperation extends Operation with Product with Serializable
  21. object Block
  22. object BreakStatement extends Serializable
  23. object CST
  24. object CatchClause extends Serializable
  25. object ClassBodyDeclaration
  26. object ClassCreatorRest extends Serializable
  27. object ClassDeclaration extends Serializable
  28. object CompareOperation extends Operation with Product with Serializable
  29. object CompilationUnit
  30. object ConditionalOperation extends Operation with Product with Serializable
  31. object ContinueStatement extends Serializable
  32. object CreatedName extends Serializable
  33. object Creator extends Serializable
  34. object DEPRECATED_ANNOTATION extends Modifier with Product with Serializable
  35. object DeleteStatement extends Serializable
  36. object DoWhileStatement extends Serializable
  37. object ElementValue
  38. object ElementValueArrayInitializer extends Serializable
  39. object ElementValuePair extends Serializable
  40. object ElementValuePairs
  41. object EnhancedForControl extends Serializable
  42. object EnumDeclaration extends Serializable
  43. object EqualityOperation extends Operation with Product with Serializable
  44. object ExactEqualityOperation extends Operation with Product with Serializable
  45. object ExprContext
  46. object Expression
  47. object ExpressionStatement extends Serializable
  48. object FINAL_MODIFIER extends Modifier with Product with Serializable
  49. object FUTURE_ANNOTATION extends Modifier with Product with Serializable
  50. object ForControl
  51. object ForInit
  52. object ForStatement extends Serializable
  53. object ForUpdate extends Serializable
  54. object FormalParameter extends Serializable
  55. object FormalParameterList
  56. object FormalParameters
  57. object GLOBAL_MODIFIER extends Modifier with Product with Serializable
  58. object HTTP_DELETE_ANNOTATION extends Modifier with Product with Serializable
  59. object HTTP_GET_ANNOTATION extends Modifier with Product with Serializable
  60. object HTTP_PATCH_ANNOTATION extends Modifier with Product with Serializable
  61. object HTTP_POST_ANNOTATION extends Modifier with Product with Serializable
  62. object HTTP_PUT_ANNOTATION extends Modifier with Product with Serializable
  63. object INHERITED_SHARING_MODIFIER extends Modifier with Product with Serializable
  64. object INVOCABLE_METHOD_ANNOTATION extends Modifier with Product with Serializable
  65. object INVOCABLE_VARIABLE_ANNOTATION extends Modifier with Product with Serializable
  66. object ISTEST_ANNOTATION extends Modifier with Product with Serializable
  67. object Id extends Serializable
  68. object IdCreatedNamePair extends Serializable
  69. object IfStatement extends Serializable
  70. object InsertStatement extends Serializable
  71. object InterfaceDeclaration extends Serializable
  72. object Literal
  73. object LocalVariableDeclaration extends Serializable
  74. object LocalVariableDeclarationStatement extends Serializable
  75. object LogicalOperation extends Operation with Product with Serializable
  76. object MapCreatorRest extends Serializable
  77. object MapCreatorRestPair extends Serializable
  78. object MergeStatement extends Serializable
  79. object MethodCall extends Serializable
  80. object MethodMap extends Serializable
  81. object ModifierOps
  82. object ModifierResults extends InternCache[ModifierResults] with Serializable
  83. object NAMESPACE_ACCESSIBLE_ANNOTATION extends Modifier with Product with Serializable
  84. object NoRest
  85. object OVERRIDE_MODIFIER extends Modifier with Product with Serializable
  86. object Operation
  87. object PRIVATE_MODIFIER extends Modifier with Product with Serializable
  88. object PROTECTED_MODIFIER extends Modifier with Product with Serializable
  89. object PUBLIC_MODIFIER extends Modifier with Product with Serializable
  90. object PlusOperation extends Operation with Product with Serializable
  91. object Primary
  92. object PropertyBlock
  93. object QualifiedName extends Serializable
  94. object READ_ONLY_ANNOTATION extends Modifier with Product with Serializable
  95. object REMOTE_ACTION_ANNOTATION extends Modifier with Product with Serializable
  96. object REST_RESOURCE_ANNOTATION extends Modifier with Product with Serializable
  97. object ReturnStatement extends Serializable
  98. object RunAsStatement extends Serializable
  99. object STATIC_MODIFIER extends Modifier with Product with Serializable
  100. object SUPPRESS_WARNINGS_ANNOTATION extends Modifier with Product with Serializable
  101. object SetCreatorRest extends Serializable
  102. object Statement
  103. object TEST_METHOD_MODIFIER extends Modifier with Product with Serializable
  104. object TEST_SETUP_ANNOTATION extends Modifier with Product with Serializable
  105. object TEST_VISIBLE_ANNOTATION extends Modifier with Product with Serializable
  106. object TRANSIENT_MODIFIER extends Modifier with Product with Serializable
  107. object ThrowStatement extends Serializable
  108. object TryStatement extends Serializable
  109. object TypeArguments extends Serializable
  110. object TypeList
  111. object TypeReference
  112. object UndeleteStatement extends Serializable
  113. object UpdateStatement extends Serializable
  114. object UpsertStatement extends Serializable
  115. object VIRTUAL_MODIFIER extends Modifier with Product with Serializable
  116. object VariableDeclarator extends Serializable
  117. object VariableDeclarators extends Serializable
  118. object WEBSERVICE_MODIFIER extends Modifier with Product with Serializable
  119. object WITHOUT_SHARING_MODIFIER extends Modifier with Product with Serializable
  120. object WITH_SHARING_MODIFIER extends Modifier with Product with Serializable
  121. object WhileStatement extends Serializable

Ungrouped