package cst
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- final case class Annotation(name: QualifiedName, elementValuePairs: List[ElementValuePair], elementValue: Option[ElementValue]) extends CST with Product with Serializable
- final case class AnnotationElementValue(annotation: Annotation) extends ElementValue with Product with Serializable
- final case class ApexConstructorDeclaration(_modifiers: ModifierResults, qualifiedName: QualifiedName, parameters: Array[ParameterDeclaration], block: Block) extends ClassBodyDeclaration with ApexConstructorLike with Product with Serializable
- final case class ApexFieldDeclaration(outerTypeId: TypeId, _modifiers: ModifierResults, typeName: TypeName, variableDeclarator: VariableDeclarator) extends ClassBodyDeclaration with ApexFieldLike with Product with Serializable
- final case class ApexInitialiserBlock(_modifiers: ModifierResults, block: Block) extends ClassBodyDeclaration with ApexBlockLike with Product with Serializable
- final class ApexMethodDeclaration extends ClassBodyDeclaration with ApexMethodLike
- final case class ApexPropertyDeclaration(outerTypeId: TypeId, _modifiers: ModifierResults, typeName: TypeName, id: Id, propertyBlocks: Seq[PropertyBlock]) extends ClassBodyDeclaration with ApexFieldLike with Product with Serializable
- final case class ArrayCreatorRest(expressions: Option[Expression], arrayInitializer: Option[ArrayInitializer]) extends CreatorRest with Product with Serializable
- final case class ArrayExpression(expression: Expression, arrayExpression: Expression) extends Expression with Product with Serializable
- final case class ArrayInitializer(expressions: Array[Expression]) extends CST with Product with Serializable
- final case class ArrayInitializerElementValue(arrayInitializer: ElementValueArrayInitializer) extends ElementValue with Product with Serializable
- trait AssignableSupport extends AnyRef
- final case class BasicForControl(forInit: Option[ForInit], expression: Option[Expression], forUpdate: Option[ForUpdate]) extends ForControl with Product with Serializable
- final case class BinaryExpression(lhs: Expression, rhs: Expression, op: String) extends Expression with Product with Serializable
- trait Block extends CST with Statement
- abstract class BlockVerifyContext extends VerifyContext
- class BodyDeclarationVerifyContext extends HolderVerifyContext with VerifyContext
- final case class BooleanLiteral(value: String) extends Literal with Product with Serializable
- final case class BreakStatement() extends CST with Statement with Product with Serializable
-
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.
- class CSTException extends Exception
- case class CSTParsingContext(path: PathLike, lineAdjust: Int = 0, columnAdjust: Int = 0) extends Product with Serializable
- final case class CastExpression(typeName: TypeName, expression: Expression) extends Expression with Product with Serializable
- final case class CatchClause(modifiers: ModifierResults, qname: QualifiedName, id: String, block: Block) extends CST with Product with Serializable
- abstract class ClassBodyDeclaration extends CST with DependencyHolder
- final case class ClassCreatorRest(arguments: Array[Expression]) extends CreatorRest with Product with Serializable
- 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
- class CompilationUnit extends CST
- final case class ContinueStatement() extends CST with Statement with Product with Serializable
- final case class CreatedName(idPairs: List[IdCreatedNamePair]) extends CST with Product with Serializable
- final case class Creator(createdName: CreatedName, creatorRest: CreatorRest) extends CST with Product with Serializable
- sealed abstract class CreatorRest extends CST
- final case class DeleteStatement(expression: Expression) extends CST with Statement with Product with Serializable
- final case class DoWhileStatement(statement: Statement, expression: Expression) extends CST with Statement with Product with Serializable
- final case class DotExpression(expression: Expression, target: Either[Id, MethodCall]) extends Expression with Product with Serializable
- final case class EagerBlock(statements: Seq[Statement]) extends CST with Block with Product with Serializable
- sealed abstract class ElementValue extends CST
- final case class ElementValueArrayInitializer(elementValues: List[ElementValue]) extends CST with Product with Serializable
- final case class ElementValuePair(id: String, elementValue: ElementValue) extends CST with Product with Serializable
- final case class EnhancedForControl(typeName: TypeName, id: Id, expression: Expression) extends ForControl with Product with Serializable
- 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
- trait ExprContext extends AnyRef
- sealed abstract class Expression extends CST
- final case class ExpressionElementValue(expression: Expression) extends ElementValue with Product with Serializable
- final case class ExpressionListForInit(expressions: Seq[Expression]) extends ForInit with Product with Serializable
- final case class ExpressionPrimary(expression: Expression) extends Primary with Product with Serializable
- final case class ExpressionStatement(expression: Expression) extends CST with Statement with Product with Serializable
- class ExpressionVerifyContext extends VerifyContext
- sealed abstract class ForControl extends CST
- sealed abstract class ForInit extends CST
- final case class ForStatement(control: ForControl, statement: Statement) extends CST with Statement with Product with Serializable
- final case class ForUpdate(expressions: Seq[Expression]) extends CST with Product with Serializable
- final case class FormalParameter(pkg: PackageImpl, outerTypeName: TypeName, modifiers: ModifierResults, relativeTypeName: RelativeTypeName, id: Id) extends CST with ParameterDeclaration with Product with Serializable
- final case class GetterPropertyBlock(modifiers: ModifierResults, block: Option[Block]) extends PropertyBlock with Product with Serializable
- trait HolderVerifyContext extends AnyRef
- final case class Id(name: Name) extends CST with Product with Serializable
- final case class IdCreatedNamePair(id: Id, types: Array[TypeName]) extends CST with Product with Serializable
- final case class IdPrimary(id: Id) extends Primary with Product with Serializable
- final case class IfStatement(expression: Expression, statements: Seq[Statement]) extends CST with Statement with Product with Serializable
- class InnerBlockVerifyContext extends BlockVerifyContext
- final case class InsertStatement(expression: Expression) extends CST with Statement with Product with Serializable
- final case class InstanceOfExpression(expression: Expression, typeName: TypeName) extends Expression with Product with Serializable
- final case class IntegerLiteral(value: String) extends Literal with Product with Serializable
- 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
- final case class LazyBlock(source: Source, blockContextRef: WeakReference[BlockContext]) extends CST with Block with Product with Serializable
- sealed abstract class Literal extends CST
- final case class LiteralPrimary(literal: Literal) extends Primary with Product with Serializable
- final case class LocalVariableDeclaration(modifiers: ModifierResults, typeName: TypeName, variableDeclarators: VariableDeclarators) extends CST with Product with Serializable
- final case class LocalVariableDeclarationStatement(localVariableDeclaration: LocalVariableDeclaration) extends CST with Statement with Product with Serializable
- final case class LocalVariableForInit(variable: LocalVariableDeclaration) extends ForInit with Product with Serializable
- final case class MapCreatorRest(pairs: List[MapCreatorRestPair]) extends CreatorRest with Product with Serializable
- final case class MapCreatorRestPair(from: Expression, to: Expression) extends CST with Product with Serializable
- final case class MergeStatement(expression1: Expression, expression2: Expression) extends CST with Statement with Product with Serializable
- final case class MethodCall(target: Either[Boolean, Id], arguments: Array[Expression]) extends Expression with Product with Serializable
- final case class MethodMap(methodsByName: Map[(Name, Int), Array[MethodDeclaration]], errors: List[Issue]) extends AssignableSupport with Product with Serializable
- sealed abstract class Modifier extends AnyRef
-
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.
- final case class NegationExpression(expression: Expression, isBitwise: Boolean) extends Expression with Product with Serializable
- final case class NewExpression(creator: Creator) extends Expression with Product with Serializable
- final class NoRest extends CreatorRest
- final case class NullLiteral() extends Literal with Product with Serializable
- final case class NumberLiteral(value: String) extends Literal with Product with Serializable
- abstract class Operation extends AssignableSupport
- class OuterBlockVerifyContext extends BlockVerifyContext
- final case class PostfixExpression(expression: Expression, op: String) extends Expression with Product with Serializable
- final case class PrefixExpression(expression: Expression, op: String) extends Expression with Product with Serializable
- sealed abstract class Primary extends CST
- final case class PrimaryExpression(primary: Primary) extends Expression with Product with Serializable
- sealed abstract class PropertyBlock extends CST
- final case class QualifiedName(names: List[Name]) extends CST with Product with Serializable
- final case class QueryExpression(query: Expression, lhs: Expression, rhs: Expression) extends Expression with Product with Serializable
- final case class ReturnStatement(expression: Option[Expression]) extends CST with Statement with Product with Serializable
- final case class RunAsStatement(expressions: Array[Expression], block: Option[Block]) extends CST with Statement with Product with Serializable
- final case class SOQL(soql: String) extends Primary with Product with Serializable
- final case class SetCreatorRest(parts: Seq[Expression]) extends CreatorRest with Product with Serializable
- final case class SetterPropertyBlock(modifiers: ModifierResults, typeName: TypeName, block: Option[Block]) extends PropertyBlock with Product with Serializable
- trait Statement extends CST
- final case class StringLiteral(value: String) extends Literal with Product with Serializable
- final case class SuperPrimary() extends Primary with Product with Serializable
- final case class ThisPrimary() extends Primary with Product with Serializable
- final case class ThrowStatement(expression: Expression) extends CST with Statement with Product with Serializable
- final case class TryStatement(block: Block, catches: Seq[CatchClause], finallyBlock: Option[Block]) extends CST with Statement with Product with Serializable
- final case class TypeArguments(typeList: List[TypeName]) extends CST with Product with Serializable
- case class TypeExprContext(isStatic: Option[Boolean], declaration: Option[TypeDeclaration]) extends ExprContext with Product with Serializable
- final case class TypeReferencePrimary(typeName: TypeName) extends Primary with Product with Serializable
- class TypeVerifyContext extends HolderVerifyContext with VerifyContext
- final case class UndeleteStatement(expression: Expression) extends CST with Statement with Product with Serializable
- class UnusedLog extends IssueLog
- final case class UpdateStatement(expression: Expression) extends CST with Statement with Product with Serializable
- final case class UpsertStatement(expression: Expression, field: Option[QualifiedName]) extends CST with Statement with Product with Serializable
- final case class VariableDeclarator(typeName: TypeName, id: Id, init: Option[Expression]) extends CST with Product with Serializable
- final case class VariableDeclarators(declarators: List[VariableDeclarator]) extends CST with Product with Serializable
- trait VerifyContext extends AnyRef
- final case class WhileStatement(expression: Expression, statement: Statement) extends CST with Statement with Product with Serializable
Value Members
- object ABSTRACT_MODIFIER extends Modifier with Product with Serializable
- object AURA_ENABLED_ANNOTATION extends Modifier with Product with Serializable
- object Annotation extends Serializable
- object ApexConstructorDeclaration extends Serializable
- object ApexFieldDeclaration extends Serializable
- object ApexInitialiserBlock extends Serializable
- object ApexMethodDeclaration
- object ApexModifiers
- object ApexPropertyDeclaration extends Serializable
- object Arguments
- object ArithmeticAddSubtractAssignmentOperation extends Operation with Product with Serializable
- object ArithmeticMultiplyDivideAssignmentOperation extends Operation with Product with Serializable
- object ArithmeticOperation extends Operation with Product with Serializable
- object ArrayCreatorRest extends Serializable
- object ArrayInitializer extends Serializable
- object AssignableSupport
- object AssignmentOperation extends Operation with Product with Serializable
- object BasicForControl extends Serializable
- object BitwiseAssignmentOperation extends Operation with Product with Serializable
- object BitwiseOperation extends Operation with Product with Serializable
- object Block
- object BreakStatement extends Serializable
- object CST
- object CatchClause extends Serializable
- object ClassBodyDeclaration
- object ClassCreatorRest extends Serializable
- object ClassDeclaration extends Serializable
- object CompareOperation extends Operation with Product with Serializable
- object CompilationUnit
- object ConditionalOperation extends Operation with Product with Serializable
- object ContinueStatement extends Serializable
- object CreatedName extends Serializable
- object Creator extends Serializable
- object DEPRECATED_ANNOTATION extends Modifier with Product with Serializable
- object DeleteStatement extends Serializable
- object DoWhileStatement extends Serializable
- object ElementValue
- object ElementValueArrayInitializer extends Serializable
- object ElementValuePair extends Serializable
- object ElementValuePairs
- object EnhancedForControl extends Serializable
- object EnumDeclaration extends Serializable
- object EqualityOperation extends Operation with Product with Serializable
- object ExactEqualityOperation extends Operation with Product with Serializable
- object ExprContext
- object Expression
- object ExpressionStatement extends Serializable
- object FINAL_MODIFIER extends Modifier with Product with Serializable
- object FUTURE_ANNOTATION extends Modifier with Product with Serializable
- object ForControl
- object ForInit
- object ForStatement extends Serializable
- object ForUpdate extends Serializable
- object FormalParameter extends Serializable
- object FormalParameterList
- object FormalParameters
- object GLOBAL_MODIFIER extends Modifier with Product with Serializable
- object HTTP_DELETE_ANNOTATION extends Modifier with Product with Serializable
- object HTTP_GET_ANNOTATION extends Modifier with Product with Serializable
- object HTTP_PATCH_ANNOTATION extends Modifier with Product with Serializable
- object HTTP_POST_ANNOTATION extends Modifier with Product with Serializable
- object HTTP_PUT_ANNOTATION extends Modifier with Product with Serializable
- object INHERITED_SHARING_MODIFIER extends Modifier with Product with Serializable
- object INVOCABLE_METHOD_ANNOTATION extends Modifier with Product with Serializable
- object INVOCABLE_VARIABLE_ANNOTATION extends Modifier with Product with Serializable
- object ISTEST_ANNOTATION extends Modifier with Product with Serializable
- object Id extends Serializable
- object IdCreatedNamePair extends Serializable
- object IfStatement extends Serializable
- object InsertStatement extends Serializable
- object InterfaceDeclaration extends Serializable
- object Literal
- object LocalVariableDeclaration extends Serializable
- object LocalVariableDeclarationStatement extends Serializable
- object LogicalOperation extends Operation with Product with Serializable
- object MapCreatorRest extends Serializable
- object MapCreatorRestPair extends Serializable
- object MergeStatement extends Serializable
- object MethodCall extends Serializable
- object MethodMap extends Serializable
- object ModifierOps
- object ModifierResults extends InternCache[ModifierResults] with Serializable
- object NAMESPACE_ACCESSIBLE_ANNOTATION extends Modifier with Product with Serializable
- object NoRest
- object OVERRIDE_MODIFIER extends Modifier with Product with Serializable
- object Operation
- object PRIVATE_MODIFIER extends Modifier with Product with Serializable
- object PROTECTED_MODIFIER extends Modifier with Product with Serializable
- object PUBLIC_MODIFIER extends Modifier with Product with Serializable
- object PlusOperation extends Operation with Product with Serializable
- object Primary
- object PropertyBlock
- object QualifiedName extends Serializable
- object READ_ONLY_ANNOTATION extends Modifier with Product with Serializable
- object REMOTE_ACTION_ANNOTATION extends Modifier with Product with Serializable
- object REST_RESOURCE_ANNOTATION extends Modifier with Product with Serializable
- object ReturnStatement extends Serializable
- object RunAsStatement extends Serializable
- object STATIC_MODIFIER extends Modifier with Product with Serializable
- object SUPPRESS_WARNINGS_ANNOTATION extends Modifier with Product with Serializable
- object SetCreatorRest extends Serializable
- object Statement
- object TEST_METHOD_MODIFIER extends Modifier with Product with Serializable
- object TEST_SETUP_ANNOTATION extends Modifier with Product with Serializable
- object TEST_VISIBLE_ANNOTATION extends Modifier with Product with Serializable
- object TRANSIENT_MODIFIER extends Modifier with Product with Serializable
- object ThrowStatement extends Serializable
- object TryStatement extends Serializable
- object TypeArguments extends Serializable
- object TypeList
- object TypeReference
- object UndeleteStatement extends Serializable
- object UpdateStatement extends Serializable
- object UpsertStatement extends Serializable
- object VIRTUAL_MODIFIER extends Modifier with Product with Serializable
- object VariableDeclarator extends Serializable
- object VariableDeclarators extends Serializable
- object WEBSERVICE_MODIFIER extends Modifier with Product with Serializable
- object WITHOUT_SHARING_MODIFIER extends Modifier with Product with Serializable
- object WITH_SHARING_MODIFIER extends Modifier with Product with Serializable
- object WhileStatement extends Serializable