Language Processor
interface LanguageProcessor
Content copied to clipboard
Functions
analyseAsm
Link copied to clipboard
abstract fun <T : Any> analyseAsm(asmType: KClass<in T>, asm: T, locationMap: Map<Any, InputLocation> = emptyMap()): List<SemanticAnalyserItem>
Content copied to clipboard
analyseText
Link copied to clipboard
abstract fun <T : Any> analyseText(asmType: KClass<in T>, inputText: String): List<SemanticAnalyserItem>
Content copied to clipboard
analyseTextForGoal
Link copied to clipboard
abstract fun <T : Any> analyseTextForGoal(asmType: KClass<in T>, goalRuleName: String, inputText: String): List<SemanticAnalyserItem>
Content copied to clipboard
buildFor
Link copied to clipboard
abstract fun buildFor(goalRuleName: String, automatonKind: AutomatonKind = AutomatonKind.LOOKAHEAD_1): LanguageProcessor
Content copied to clipboard
expectedAt
Link copied to clipboard
abstract fun expectedAt(inputText: String, position: Int, desiredDepth: Int, automatonKind: AutomatonKind = AutomatonKind.LOOKAHEAD_1): List<CompletionItem>
Content copied to clipboard
expectedAtForGoal
Link copied to clipboard
abstract fun expectedAtForGoal(goalRuleName: String, inputText: String, position: Int, desiredDepth: Int, automatonKind: AutomatonKind = AutomatonKind.LOOKAHEAD_1): List<CompletionItem>
Content copied to clipboard
formatText
Link copied to clipboard
abstract fun <T : Any> formatText(asmType: KClass<in T>, inputText: String, automatonKind: AutomatonKind = AutomatonKind.LOOKAHEAD_1): String
Content copied to clipboard
formatTextForGoal
Link copied to clipboard
abstract fun <T : Any> formatTextForGoal(asmType: KClass<in T>, goalRuleName: String, inputText: String, automatonKind: AutomatonKind = AutomatonKind.LOOKAHEAD_1): String
Content copied to clipboard
parse
Link copied to clipboard
parseForGoal
Link copied to clipboard
abstract fun parseForGoal(goalRuleName: String, inputText: String, automatonKind: AutomatonKind = AutomatonKind.LOOKAHEAD_1): SharedPackedParseTree
Content copied to clipboard
parseWithAutomatonKind
Link copied to clipboard
abstract fun parseWithAutomatonKind(inputText: String, automatonKind: AutomatonKind): SharedPackedParseTree
Content copied to clipboard
processForGoal
Link copied to clipboard
abstract fun <T : Any> processForGoal(asmType: KClass<in T>, goalRuleName: String, inputText: String, automatonKind: AutomatonKind = AutomatonKind.LOOKAHEAD_1): T
Content copied to clipboard
processFromSPPT
Link copied to clipboard
abstract fun <T : Any> processFromSPPT(asmType: KClass<in T>, sppt: SharedPackedParseTree): T
Content copied to clipboard