package parsers
- Alphabetic
- Public
- Protected
Type Members
- class CodeParser extends AnyRef
Apex class parser helper
- class CollectingErrorListener extends BaseErrorListener
- class PageParser extends AnyRef
VF Page parser helper
- case class Source(path: PathLike, code: SourceData, lineOffset: Int, columnOffset: Int, outer: Option[Source], startLine: Option[Int] = None, startColumn: Option[Int] = None) extends Product with Serializable
A block of source code loaded from a file
A block of source code loaded from a file
- path
source file path
- code
source file contents or some subpart of
- lineOffset
line in path where source code is found
- columnOffset
column of lineOffset where source code is found
- outer
outer source container that this was extracted from
- startLine
used by Outline parser for hack
- startColumn
used by Outline parser for hack
- final case class SourceData(source: Array[Byte], offset: Int, length: Int, sourceHash: Option[Int] = None, isASCII: Option[Boolean] = None) extends Product with Serializable
Source code data chunk.
Source code data chunk.
- source
some block of code, typically shared between SourceData instances to save memory.
- offset
index into source to start
- length
length from offset to use in bytes
- sourceHash
hash code for all of source, maybe precomputed
- isASCII
set if source only uses ASCII characters, maybe precomputed
- abstract class TreeVisitor[T] extends ApexParserBaseVisitor[ArraySeq[T]]
Value Members
- object CodeParser
- object PageParser
- object Source extends Serializable
- object SourceData extends Serializable