Packages

class CST extends Locatable

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.

Linear Supertypes
Locatable, AnyRef, Any
Known Subclasses
Annotation, AnnotationElementValue, ApexConstructorDeclaration, ApexFieldDeclaration, ApexInitialiserBlock, ApexMethodDeclaration, ApexPropertyDeclaration, ArrayCreatorRest, ArrayExpression, ArrayInitializer, ArrayInitializerElementValue, BasicForControl, BinaryExpression, Block, BooleanLiteral, BreakStatement, CastExpression, CatchClause, ClassBodyDeclaration, ClassCreatorRest, ClassDeclaration, CompilationUnit, ContinueStatement, CreatedName, Creator, CreatorRest, DeleteStatement, DoWhileStatement, DotExpression, EagerBlock, ElementValue, ElementValueArrayInitializer, ElementValuePair, EnhancedForControl, EnumDeclaration, Expression, ExpressionElementValue, ExpressionListForInit, ExpressionPrimary, ExpressionStatement, ForControl, ForInit, ForStatement, ForUpdate, FormalParameter, GetterPropertyBlock, Id, IdCreatedNamePair, IdPrimary, IfStatement, InsertStatement, InstanceOfExpression, IntegerLiteral, InterfaceDeclaration, LazyBlock, Literal, LiteralPrimary, LocalVariableDeclaration, LocalVariableDeclarationStatement, LocalVariableForInit, MapCreatorRest, MapCreatorRestPair, MergeStatement, MethodCall, NegationExpression, NewExpression, NoRest, NullLiteral, NumberLiteral, PostfixExpression, PrefixExpression, Primary, PrimaryExpression, PropertyBlock, QualifiedName, QueryExpression, ReturnStatement, RunAsStatement, SOQL, SetCreatorRest, SetterPropertyBlock, Statement, StringLiteral, SuperPrimary, ThisPrimary, ThrowStatement, TryStatement, TypeArguments, TypeReferencePrimary, UndeleteStatement, UpdateStatement, UpsertStatement, VariableDeclarator, VariableDeclarators, WhileStatement, SwitchStatement, WhenControl, WhenElseValue, WhenIdLiteral, WhenIdsValue, WhenIntegerLiteral, WhenLiteral, WhenLiteralsValue, WhenNullLiteral, WhenStringLiteral, WhenValue, FullDeclaration
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CST
  2. Locatable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CST()

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. var endLine: Int
    Definition Classes
    CST → Locatable
  7. var endOffset: Int
    Definition Classes
    CST → Locatable
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def location: RangeLocationImpl
    Definition Classes
    Locatable
  15. var locationPath: String
    Definition Classes
    CST → Locatable
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. var startLine: Int
    Definition Classes
    CST → Locatable
  20. var startOffset: Int
    Definition Classes
    CST → Locatable
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  26. def withContext(context: ParserRuleContext): CST.this.type

Inherited from Locatable

Inherited from AnyRef

Inherited from Any

Ungrouped