Packages

package cst

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package stmts

Type Members

  1. final case class Annotation(name: Option[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: ArraySeq[FormalParameter], thisType: ThisType, block: Block) extends ClassBodyDeclaration with ApexConstructorLike with Product with Serializable
  4. final case class ApexFieldDeclaration(thisType: ThisType, _modifiers: ModifierResults, typeName: TypeName, variableDeclarator: VariableDeclarator) extends ClassBodyDeclaration with ApexFieldLike with Product with Serializable
  5. final case class ApexInitializerBlock(_modifiers: ModifierResults, block: Block, thisType: ThisType) extends ClassBodyDeclaration with ApexBlockLike with Product with Serializable
  6. class ApexMethodDeclaration extends ClassBodyDeclaration with ApexMethodLike with Referenceable
  7. final case class ApexPropertyDeclaration(thisType: ThisType, _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: ArraySeq[Expression]) extends CST with Product with Serializable
  11. final case class ArrayInitializerElementValue(arrayInitializer: ElementValueArrayInitializer) extends ElementValue with Product with Serializable
  12. final case class BasicForControl(forInit: Option[ForInit], expression: Option[Expression], forUpdate: Option[ForUpdate]) extends ForControl with Product with Serializable
  13. final case class BinaryExpression(lhs: Expression, rhs: Expression, op: String) extends Expression with Product with Serializable
  14. abstract class Block extends Statement
  15. abstract class BlockVerifyContext extends VerifyContext with ControlFlowContext
  16. final class BodyDeclarationVerifyContext extends ValidateResultHolder with HolderVerifyContext with VerifyContext
  17. class BoundExprVisitor extends ApexParserBaseVisitor[ArraySeq[ExpressionContext]]
  18. final case class BoundStringLiteral(bound: Set[Name]) extends Literal with Product with Serializable
  19. final case class BreakStatement() extends Statement with Product with Serializable
  20. class CST extends Positionable

    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. case class CSTParsingContext(path: PathLike, lineAdjust: Int = 0, columnAdjust: Int = 0) extends Product with Serializable
  22. trait CSTTypeArguments extends AnyRef
  23. trait CSTTypeName extends AnyRef
  24. trait CSTTypeReference extends AnyRef
  25. final case class CastExpression(typeName: TypeName, expression: Expression) extends Expression with Product with Serializable
  26. final case class CatchClause(modifiers: ModifierResults, qname: QualifiedName, id: String, block: Option[Block]) extends CST with Product with Serializable
  27. abstract class ClassBodyDeclaration extends CST with DependencyHolder with ApexNode
  28. final case class ClassCreatorRest(arguments: ArraySeq[Expression]) extends CreatorRest with Product with Serializable
  29. final case class ClassDeclaration(_source: Source, _module: Module, _typeContext: RelativeTypeContext, _typeName: TypeName, _outerTypeName: Option[TypeName], _id: Id, _modifiers: ModifierResults, _inTest: Boolean, _extendsType: Option[TypeName], _implementsTypes: ArraySeq[TypeName], _bodyDeclarations: ArraySeq[ClassBodyDeclaration]) extends FullDeclaration with ApexNode with Product with Serializable
  30. class CompilationUnit extends CST
  31. final case class ConstructorMap(typeName: Option[TypeName], td: Option[ApexClassDeclaration], constructorsByParam: Map[Int, Array[ConstructorDeclaration]], superConstructorsByParam: Option[ConstructorMap], errors: List[Issue]) extends Product with Serializable
  32. final case class ContinueStatement() extends Statement with Product with Serializable
  33. final case class CreatedName(idPairs: List[IdCreatedNamePair]) extends CST with Product with Serializable
  34. final case class Creator(createdName: CreatedName, creatorRest: Option[CreatorRest]) extends CST with Product with Serializable
  35. sealed abstract class CreatorRest extends CST
  36. final case class DeleteStatement(expression: Expression) extends Statement with Product with Serializable
  37. final case class DoWhileStatement(statement: Option[Statement], expression: Option[Expression]) extends Statement with Product with Serializable
  38. final case class DotExpressionWithId(expression: Expression, safeNavigation: Boolean, target: Id) extends Expression with Product with Serializable
  39. final case class DotExpressionWithMethod(expression: Expression, safeNavigation: Boolean, target: Option[MethodCallWithId]) extends Expression with Product with Serializable
  40. final case class EagerBlock(statements: Seq[Statement]) extends Block with Product with Serializable
  41. sealed abstract class ElementValue extends CST
  42. final case class ElementValueArrayInitializer(elementValues: Seq[ElementValue]) extends CST with Product with Serializable
  43. final case class ElementValuePair(id: String, elementValue: Option[ElementValue]) extends CST with Product with Serializable
  44. final case class EmptyExpr() extends Expression with Product with Serializable
  45. final case class EmptyPrimary() extends Primary with Product with Serializable
  46. final case class EnhancedForControl(typeName: TypeName, id: Id, expression: Expression) extends ForControl with Product with Serializable
  47. final case class EnumDeclaration(_source: Source, _module: Module, _typeContext: RelativeTypeContext, _typeName: TypeName, _outerTypeName: Option[TypeName], _id: Id, _modifiers: ModifierResults, _inTest: Boolean, _bodyDeclarations: ArraySeq[ClassBodyDeclaration]) extends FullDeclaration with Product with Serializable
  48. final case class ExprContext(isStatic: Option[Boolean], declaration: Option[TypeDeclaration], locatable: Option[Locatable] = None) extends Product with Serializable
  49. sealed abstract class Expression extends CST
  50. final case class ExpressionElementValue(expression: Expression) extends ElementValue with Product with Serializable
  51. final case class ExpressionListForInit(expressions: ArraySeq[Expression]) extends ForInit with Product with Serializable
  52. final case class ExpressionStatement(expression: Expression) extends Statement with Product with Serializable
  53. final class ExpressionVerifyContext extends VerifyContext
  54. sealed abstract class ForControl extends CST
  55. sealed abstract class ForInit extends CST
  56. final case class ForStatement(control: Option[ForControl], statement: Option[Statement]) extends Statement with Product with Serializable
  57. final case class ForUpdate(expressions: ArraySeq[Expression]) extends CST with Product with Serializable
  58. final case class FormalParameter(modifiers: ModifierResults, relativeTypeName: RelativeTypeName, id: Id) extends ParameterDeclaration with Product with Serializable
  59. final case class GetterPropertyBlock(modifiers: ModifierResults, block: Option[Block]) extends PropertyBlock with Product with Serializable
  60. trait HolderVerifyContext extends AnyRef
  61. final case class Id(name: Name) extends CST with Product with Serializable
  62. final case class IdCreatedNamePair(id: Id, types: ArraySeq[TypeName]) extends CST with Product with Serializable
  63. final case class IdPrimary(id: Id) extends Primary with Product with Serializable
  64. final case class IfStatement(expression: Expression, statements: Seq[Statement]) extends Statement with Product with Serializable
  65. final class InnerBlockVerifyContext extends BlockVerifyContext
  66. final case class InsertStatement(expression: Expression) extends Statement with Product with Serializable
  67. final case class InstanceOfExpression(expression: Expression, typeName: TypeName) extends Expression with Product with Serializable
  68. final case class InterfaceDeclaration(_source: Source, _module: Module, _typeContext: RelativeTypeContext, _typeName: TypeName, _outerTypeName: Option[TypeName], _id: Id, _modifiers: ModifierResults, _inTest: Boolean, _implementsTypes: ArraySeq[TypeName], _bodyDeclarations: ArraySeq[ClassBodyDeclaration]) extends FullDeclaration with Product with Serializable
  69. final case class LazyBlock(source: Source, blockContextRef: WeakReference[BlockContext], isTrigger: Boolean) extends Block with Product with Serializable
  70. sealed abstract class Literal extends AnyRef
  71. final case class LiteralPrimary(literal: Literal) extends Primary with Product with Serializable
  72. final case class LocalVariableDeclaration(modifiers: ModifierResults, typeName: TypeName, variableDeclarators: VariableDeclarators) extends CST with Product with Serializable
  73. final case class LocalVariableDeclarationStatement(localVariableDeclaration: LocalVariableDeclaration) extends Statement with Product with Serializable
  74. final case class LocalVariableForInit(variable: LocalVariableDeclaration) extends ForInit with Product with Serializable
  75. final case class MapCreatorRest(pairs: List[MapCreatorRestPair]) extends CreatorRest with Product with Serializable
  76. final case class MapCreatorRestPair(from: Expression, to: Expression) extends CST with Product with Serializable
  77. final case class MergeStatement(expression1: Expression, expression2: Expression) extends Statement with Product with Serializable
  78. abstract class MethodCall extends Expression
  79. final case class MethodCallCtor(isSuper: Boolean, arguments: ArraySeq[Expression]) extends MethodCall with Product with Serializable
  80. sealed abstract class MethodCallError extends AnyRef
  81. final case class MethodCallWithId(target: Id, arguments: ArraySeq[Expression]) extends MethodCall with Product with Serializable
  82. final case class MethodMap(typeName: Option[TypeName], td: Option[ApexClassDeclaration], methodsByName: Map[(Name, Int), Array[MethodDeclaration]], testVisiblePrivateMethods: Set[MethodDeclaration], errors: List[Issue]) extends Product with Serializable
  83. final case class NegationExpression(expression: Expression, isBitwise: Boolean) extends Expression with Product with Serializable
  84. final case class NewExpression(creator: Creator) extends Expression with Product with Serializable
  85. final class NoRest extends CreatorRest
  86. abstract class Operation extends AnyRef
  87. final class OuterBlockVerifyContext extends BlockVerifyContext with OuterControlFlowContext
  88. final case class PostfixExpression(expression: Expression, op: String) extends Expression with Product with Serializable
  89. final case class PrefixExpression(expression: Expression, op: String) extends Expression with Product with Serializable
  90. sealed abstract class Primary extends CST
  91. final case class PrimaryExpression(primary: Primary) extends Expression with Product with Serializable
  92. sealed abstract class PropertyBlock extends CST
  93. final case class QualifiedName(names: Seq[Name]) extends CST with Product with Serializable
  94. final case class QueryExpression(query: Expression, lhs: Expression, rhs: Expression) extends Expression with Product with Serializable
  95. final case class ReturnStatement(expression: Option[Expression]) extends Statement with Product with Serializable
  96. final case class RunAsStatement(expressions: ArraySeq[Expression], block: Option[Block]) extends Statement with Product with Serializable
  97. final case class SOQL(boundExpressions: ArraySeq[Expression]) extends Primary with Product with Serializable
  98. final case class SOSL(query: SoslLiteralContext) extends Primary with Product with Serializable
  99. final case class SetCreatorRest(parts: ArraySeq[Expression]) extends CreatorRest with Product with Serializable
  100. final case class SetterPropertyBlock(modifiers: ModifierResults, typeName: TypeName, block: Option[Block]) extends PropertyBlock with Product with Serializable
  101. abstract class Statement extends CST with ControlFlow
  102. final case class SubExpression(expression: Expression) extends Expression with Product with Serializable
  103. final case class SuperPrimary() extends Primary with Product with Serializable
  104. final case class ThisPrimary() extends Primary with Product with Serializable
  105. final case class ThrowStatement(expression: Expression) extends Statement with Product with Serializable
  106. final case class TryStatement(block: Block, catches: Seq[CatchClause], finallyBlock: Option[Block]) extends Statement with Product with Serializable
  107. final case class TypeArguments(typeList: List[TypeName]) extends CST with Product with Serializable
  108. final case class TypeReferencePrimary(typeName: TypeName) extends Primary with Product with Serializable
  109. final class TypeVerifyContext extends ValidateResultHolder with HolderVerifyContext with VerifyContext
  110. final case class UndeleteStatement(expression: Expression) extends Statement with Product with Serializable
  111. final case class UpdateStatement(expression: Expression) extends Statement with Product with Serializable
  112. final case class UpsertStatement(expression: Expression, field: Option[QualifiedName]) extends Statement with Product with Serializable
  113. class ValidateResultHolder extends AnyRef
  114. final case class ValidationResult(cst: CST, result: ExprContext, vars: Option[Map[Name, VarTypeAndDefinition]]) extends Product with Serializable
  115. case class VarTypeAndDefinition(declaration: TypeDeclaration, definition: Option[CST]) extends Product with Serializable
  116. final case class VariableDeclarator(typeName: TypeName, id: Id, init: Option[Expression]) extends CST with Product with Serializable
  117. final case class VariableDeclarators(declarators: Seq[VariableDeclarator]) extends CST with Product with Serializable
  118. trait VerifyContext extends AnyRef
  119. final case class WhileStatement(expression: Expression, statement: Option[Statement]) extends Statement with Product with Serializable

Value Members

  1. case object AMBIGUOUS_ERROR extends MethodCallError with Product with Serializable
  2. object Annotation extends Serializable
  3. object ApexConstructorDeclaration extends Serializable
  4. object ApexFieldDeclaration extends Serializable
  5. object ApexInitializerBlock extends Serializable
  6. object ApexMethodDeclaration
  7. object ApexPropertyDeclaration extends Serializable
  8. object Arguments
  9. case object ArithmeticAddSubtractAssignmentOperation extends Operation with Product with Serializable
  10. case object ArithmeticMultiplyDivideAssignmentOperation extends Operation with Product with Serializable
  11. case object ArithmeticOperation extends Operation with Product with Serializable
  12. object ArrayCreatorRest extends Serializable
  13. object ArrayInitializer extends Serializable
  14. object AssignableSupport
  15. case object AssignmentOperation extends Operation with Product with Serializable
  16. object BasicForControl extends Serializable
  17. case object BitwiseAssignmentOperation extends Operation with Product with Serializable
  18. case object BitwiseOperation extends Operation with Product with Serializable
  19. object Block
  20. case object BooleanLiteral extends Literal with Product with Serializable
  21. object BreakStatement extends Serializable
  22. object CST
  23. object CSTTypeReference
  24. object CatchClause extends Serializable
  25. object ClassBodyDeclaration
  26. object ClassCreatorRest extends Serializable
  27. object ClassDeclaration extends Serializable
  28. case object CompareOperation extends Operation with Product with Serializable
  29. object CompilationUnit
  30. case object ConditionalOperation extends Operation with Product with Serializable
  31. object ConstructorMap extends Serializable
  32. object ContinueStatement extends Serializable
  33. object CreatedName extends Serializable
  34. object Creator extends Serializable
  35. case object DecimalLiteral extends Literal with Product with Serializable
  36. object DeleteStatement extends Serializable
  37. object DoWhileStatement extends Serializable
  38. object DotExpression
  39. object DotExpressionWithMethod extends Serializable
  40. case object DoubleLiteral extends Literal with Product with Serializable
  41. object DoubleOrDecimalLiteral
  42. object EagerBlock extends Serializable
  43. object ElementValue
  44. object ElementValueArrayInitializer extends Serializable
  45. object ElementValuePair extends Serializable
  46. object ElementValuePairs
  47. object EnhancedForControl extends Serializable
  48. object EnumDeclaration extends Serializable
  49. case object EqualityOperation extends Operation with Product with Serializable
  50. case object ExactEqualityOperation extends Operation with Product with Serializable
  51. object ExprContext extends Serializable
  52. object Expression
  53. object ExpressionStatement extends Serializable
  54. object ForControl
  55. object ForInit
  56. object ForStatement extends Serializable
  57. object ForUpdate extends Serializable
  58. object FormalParameter extends Serializable
  59. object FormalParameterList
  60. object FormalParameters
  61. object Id extends Serializable
  62. object IdCreatedNamePair extends Serializable
  63. object IfStatement extends Serializable
  64. object InsertStatement extends Serializable
  65. case object IntegerLiteral extends Literal with Product with Serializable
  66. object IntegerOrLongLiteral
  67. object InterfaceDeclaration extends Serializable
  68. object Literal
  69. object LocalVariableDeclaration extends Serializable
  70. object LocalVariableDeclarationStatement extends Serializable
  71. case object LogicalOperation extends Operation with Product with Serializable
  72. case object LongLiteral extends Literal with Product with Serializable
  73. object MapCreatorRest extends Serializable
  74. object MapCreatorRestPair extends Serializable
  75. object MergeStatement extends Serializable
  76. object MethodCall
  77. object MethodMap extends Serializable
  78. case object NO_MATCH_ERROR extends MethodCallError with Product with Serializable
  79. object NoRest
  80. case object NullLiteral extends Literal with Product with Serializable
  81. object Operation
  82. case object PlusOperation extends Operation with Product with Serializable
  83. object Primary
  84. object PropertyBlock
  85. object QualifiedName extends Serializable
  86. object ReturnStatement extends Serializable
  87. object RunAsStatement extends Serializable
  88. object SOQL extends Serializable
  89. object SetCreatorRest extends Serializable
  90. object Statement
  91. case object StringLiteral extends Literal with Product with Serializable
  92. object ThrowStatement extends Serializable
  93. object TryStatement extends Serializable
  94. object TypeArguments extends Serializable
  95. object TypeList
  96. object TypeReference
  97. object UndeleteStatement extends Serializable
  98. object UpdateStatement extends Serializable
  99. object UpsertStatement extends Serializable
  100. object VariableDeclarator extends Serializable
  101. object VariableDeclarators extends Serializable
  102. object WhileStatement extends Serializable

Ungrouped