KotlinParser

open class KotlinParser(input: TokenStream) : Parser(source)

Constructors

Link copied to clipboard
constructor(input: TokenStream)

Types

Link copied to clipboard
open class AdditiveExpressionContext : ParserRuleContext
Link copied to clipboard
open class AdditiveOperatorContext : ParserRuleContext
Link copied to clipboard
open class AnnotatedDelegationSpecifierContext : ParserRuleContext
Link copied to clipboard
open class AnnotatedLambdaContext : ParserRuleContext
Link copied to clipboard
open class AnnotationContext : ParserRuleContext
Link copied to clipboard
open class AnnotationUseSiteTargetContext : ParserRuleContext
Link copied to clipboard
open class AnonymousFunctionContext : ParserRuleContext
Link copied to clipboard
open class AnonymousInitializerContext : ParserRuleContext
Link copied to clipboard
open class AsExpressionContext : ParserRuleContext
Link copied to clipboard
open class AsOperatorContext : ParserRuleContext
Link copied to clipboard
open class AssignableExpressionContext : ParserRuleContext
Link copied to clipboard
open class AssignableSuffixContext : ParserRuleContext
Link copied to clipboard
open class AssignmentAndOperatorContext : ParserRuleContext
Link copied to clipboard
open class AssignmentContext : ParserRuleContext
Link copied to clipboard
open class BlockContext : ParserRuleContext
Link copied to clipboard
open class CallableReferenceContext : ParserRuleContext
Link copied to clipboard
open class CallSuffixContext : ParserRuleContext
Link copied to clipboard
open class CatchBlockContext : ParserRuleContext
Link copied to clipboard
open class ClassBodyContext : ParserRuleContext
Link copied to clipboard
open class ClassDeclarationContext : ParserRuleContext
Link copied to clipboard
open class ClassMemberDeclarationContext : ParserRuleContext
Link copied to clipboard
open class ClassMemberDeclarationsContext : ParserRuleContext
Link copied to clipboard
open class ClassModifierContext : ParserRuleContext
Link copied to clipboard
open class ClassParameterContext : ParserRuleContext
Link copied to clipboard
open class ClassParametersContext : ParserRuleContext
Link copied to clipboard
open class CollectionLiteralContext : ParserRuleContext
Link copied to clipboard
open class CompanionObjectContext : ParserRuleContext
Link copied to clipboard
open class ComparisonContext : ParserRuleContext
Link copied to clipboard
open class ComparisonOperatorContext : ParserRuleContext
Link copied to clipboard
open class ConjunctionContext : ParserRuleContext
Link copied to clipboard
open class ConstructorDelegationCallContext : ParserRuleContext
Link copied to clipboard
open class ConstructorInvocationContext : ParserRuleContext
Link copied to clipboard
open class ControlStructureBodyContext : ParserRuleContext
Link copied to clipboard
open class DeclarationContext : ParserRuleContext
Link copied to clipboard
open class DefinitelyNonNullableTypeContext : ParserRuleContext
Link copied to clipboard
open class DelegationSpecifierContext : ParserRuleContext
Link copied to clipboard
open class DelegationSpecifiersContext : ParserRuleContext
Link copied to clipboard
open class DirectlyAssignableExpressionContext : ParserRuleContext
Link copied to clipboard
open class DisjunctionContext : ParserRuleContext
Link copied to clipboard
open class DoWhileStatementContext : ParserRuleContext
Link copied to clipboard
open class ElvisContext : ParserRuleContext
Link copied to clipboard
open class ElvisExpressionContext : ParserRuleContext
Link copied to clipboard
open class EnumClassBodyContext : ParserRuleContext
Link copied to clipboard
open class EnumEntriesContext : ParserRuleContext
Link copied to clipboard
open class EnumEntryContext : ParserRuleContext
Link copied to clipboard
open class EqualityContext : ParserRuleContext
Link copied to clipboard
open class EqualityOperatorContext : ParserRuleContext
Link copied to clipboard
open class ExclContext : ParserRuleContext
Link copied to clipboard
open class ExplicitDelegationContext : ParserRuleContext
Link copied to clipboard
open class ExpressionContext : ParserRuleContext
Link copied to clipboard
open class FileAnnotationContext : ParserRuleContext
Link copied to clipboard
open class FinallyBlockContext : ParserRuleContext
Link copied to clipboard
open class ForStatementContext : ParserRuleContext
Link copied to clipboard
open class FunctionBodyContext : ParserRuleContext
Link copied to clipboard
open class FunctionDeclarationContext : ParserRuleContext
Link copied to clipboard
open class FunctionLiteralContext : ParserRuleContext
Link copied to clipboard
open class FunctionModifierContext : ParserRuleContext
Link copied to clipboard
open class FunctionTypeContext : ParserRuleContext
Link copied to clipboard
open class FunctionTypeParametersContext : ParserRuleContext
Link copied to clipboard
open class FunctionValueParameterContext : ParserRuleContext
Link copied to clipboard
open class FunctionValueParametersContext : ParserRuleContext
Link copied to clipboard
open class GenericCallLikeComparisonContext : ParserRuleContext
Link copied to clipboard
open class GetterContext : ParserRuleContext
Link copied to clipboard
open class IdentifierContext : ParserRuleContext
Link copied to clipboard
open class IfExpressionContext : ParserRuleContext
Link copied to clipboard
open class ImportAliasContext : ParserRuleContext
Link copied to clipboard
open class ImportHeaderContext : ParserRuleContext
Link copied to clipboard
open class ImportListContext : ParserRuleContext
Link copied to clipboard
open class IndexingSuffixContext : ParserRuleContext
Link copied to clipboard
open class InfixFunctionCallContext : ParserRuleContext
Link copied to clipboard
open class InfixOperationContext : ParserRuleContext
Link copied to clipboard
open class InheritanceModifierContext : ParserRuleContext
Link copied to clipboard
open class InOperatorContext : ParserRuleContext
Link copied to clipboard
open class IsOperatorContext : ParserRuleContext
Link copied to clipboard
open class JumpExpressionContext : ParserRuleContext
Link copied to clipboard
open class KotlinFileContext : ParserRuleContext
Link copied to clipboard
open class LabelContext : ParserRuleContext
Link copied to clipboard
open class LambdaLiteralContext : ParserRuleContext
Link copied to clipboard
open class LambdaParameterContext : ParserRuleContext
Link copied to clipboard
open class LambdaParametersContext : ParserRuleContext
Link copied to clipboard
open class LineStringContentContext : ParserRuleContext
Link copied to clipboard
open class LineStringExpressionContext : ParserRuleContext
Link copied to clipboard
open class LineStringLiteralContext : ParserRuleContext
Link copied to clipboard
open class LiteralConstantContext : ParserRuleContext
Link copied to clipboard
open class LoopStatementContext : ParserRuleContext
Link copied to clipboard
open class MemberAccessOperatorContext : ParserRuleContext
Link copied to clipboard
open class MemberModifierContext : ParserRuleContext
Link copied to clipboard
open class ModifierContext : ParserRuleContext
Link copied to clipboard
open class ModifiersContext : ParserRuleContext
Link copied to clipboard
open class MultiAnnotationContext : ParserRuleContext
Link copied to clipboard
open class MultiLineStringContentContext : ParserRuleContext
Link copied to clipboard
open class MultiLineStringExpressionContext : ParserRuleContext
Link copied to clipboard
open class MultiLineStringLiteralContext : ParserRuleContext
Link copied to clipboard
open class MultiplicativeExpressionContext : ParserRuleContext
Link copied to clipboard
open class MultiplicativeOperatorContext : ParserRuleContext
Link copied to clipboard
open class MultiVariableDeclarationContext : ParserRuleContext
Link copied to clipboard
open class NavigationSuffixContext : ParserRuleContext
Link copied to clipboard
open class NullableTypeContext : ParserRuleContext
Link copied to clipboard
open class ObjectDeclarationContext : ParserRuleContext
Link copied to clipboard
open class ObjectLiteralContext : ParserRuleContext
Link copied to clipboard
open class PackageHeaderContext : ParserRuleContext
Link copied to clipboard
open class ParameterContext : ParserRuleContext
Link copied to clipboard
open class ParameterModifierContext : ParserRuleContext
Link copied to clipboard
open class ParameterModifiersContext : ParserRuleContext
Link copied to clipboard
open class ParametersWithOptionalTypeContext : ParserRuleContext
Link copied to clipboard
open class ParameterWithOptionalTypeContext : ParserRuleContext
Link copied to clipboard
open class ParenthesizedAssignableExpressionContext : ParserRuleContext
Link copied to clipboard
open class ParenthesizedExpressionContext : ParserRuleContext
Link copied to clipboard
open class ParenthesizedTypeContext : ParserRuleContext
Link copied to clipboard
open class ParenthesizedUserTypeContext : ParserRuleContext
Link copied to clipboard
open class PlatformModifierContext : ParserRuleContext
Link copied to clipboard
open class PostfixUnaryExpressionContext : ParserRuleContext
Link copied to clipboard
open class PostfixUnaryOperatorContext : ParserRuleContext
Link copied to clipboard
open class PostfixUnarySuffixContext : ParserRuleContext
Link copied to clipboard
open class PrefixUnaryExpressionContext : ParserRuleContext
Link copied to clipboard
open class PrefixUnaryOperatorContext : ParserRuleContext
Link copied to clipboard
open class PrimaryConstructorContext : ParserRuleContext
Link copied to clipboard
open class PrimaryExpressionContext : ParserRuleContext
Link copied to clipboard
open class PropertyDeclarationContext : ParserRuleContext
Link copied to clipboard
open class PropertyDelegateContext : ParserRuleContext
Link copied to clipboard
open class PropertyModifierContext : ParserRuleContext
Link copied to clipboard
open class QuestContext : ParserRuleContext
Link copied to clipboard
open class RangeExpressionContext : ParserRuleContext
Link copied to clipboard
open class RangeTestContext : ParserRuleContext
Link copied to clipboard
open class ReceiverTypeContext : ParserRuleContext
Link copied to clipboard
open class ReificationModifierContext : ParserRuleContext
Link copied to clipboard
object Rules
Link copied to clipboard
open class SafeNavContext : ParserRuleContext
Link copied to clipboard
open class ScriptContext : ParserRuleContext
Link copied to clipboard
open class SecondaryConstructorContext : ParserRuleContext
Link copied to clipboard
open class SemiContext : ParserRuleContext
Link copied to clipboard
open class SemisContext : ParserRuleContext
Link copied to clipboard
open class SetterContext : ParserRuleContext
Link copied to clipboard
open class ShebangLineContext : ParserRuleContext
Link copied to clipboard
open class SimpleIdentifierContext : ParserRuleContext
Link copied to clipboard
open class SimpleUserTypeContext : ParserRuleContext
Link copied to clipboard
open class SingleAnnotationContext : ParserRuleContext
Link copied to clipboard
open class StatementContext : ParserRuleContext
Link copied to clipboard
open class StatementsContext : ParserRuleContext
Link copied to clipboard
open class StringLiteralContext : ParserRuleContext
Link copied to clipboard
open class SuperExpressionContext : ParserRuleContext
Link copied to clipboard
open class ThisExpressionContext : ParserRuleContext
Link copied to clipboard
object Tokens
Link copied to clipboard
open class TopLevelObjectContext : ParserRuleContext
Link copied to clipboard
open class TryExpressionContext : ParserRuleContext
Link copied to clipboard
open class TypeAliasContext : ParserRuleContext
Link copied to clipboard
open class TypeArgumentsContext : ParserRuleContext
Link copied to clipboard
open class TypeConstraintContext : ParserRuleContext
Link copied to clipboard
open class TypeConstraintsContext : ParserRuleContext
Link copied to clipboard
open class TypeContext : ParserRuleContext
Link copied to clipboard
open class TypeModifierContext : ParserRuleContext
Link copied to clipboard
open class TypeModifiersContext : ParserRuleContext
Link copied to clipboard
open class TypeParameterContext : ParserRuleContext
Link copied to clipboard
open class TypeParameterModifierContext : ParserRuleContext
Link copied to clipboard
open class TypeParameterModifiersContext : ParserRuleContext
Link copied to clipboard
open class TypeParametersContext : ParserRuleContext
Link copied to clipboard
open class TypeProjectionContext : ParserRuleContext
Link copied to clipboard
open class TypeProjectionModifierContext : ParserRuleContext
Link copied to clipboard
open class TypeProjectionModifiersContext : ParserRuleContext
Link copied to clipboard
open class TypeReferenceContext : ParserRuleContext
Link copied to clipboard
open class TypeTestContext : ParserRuleContext
Link copied to clipboard
open class UnaryPrefixContext : ParserRuleContext
Link copied to clipboard
open class UnescapedAnnotationContext : ParserRuleContext
Link copied to clipboard
open class UserTypeContext : ParserRuleContext
Link copied to clipboard
open class ValueArgumentContext : ParserRuleContext
Link copied to clipboard
open class ValueArgumentsContext : ParserRuleContext
Link copied to clipboard
open class VariableDeclarationContext : ParserRuleContext
Link copied to clipboard
open class VarianceModifierContext : ParserRuleContext
Link copied to clipboard
open class VisibilityModifierContext : ParserRuleContext
Link copied to clipboard
open class WhenConditionContext : ParserRuleContext
Link copied to clipboard
open class WhenEntryAdditionContext : ParserRuleContext
Link copied to clipboard
open class WhenEntryContext : ParserRuleContext
Link copied to clipboard
open class WhenEntryGuardContext : ParserRuleContext
Link copied to clipboard
open class WhenExpressionContext : ParserRuleContext
Link copied to clipboard
open class WhenSubjectContext : ParserRuleContext
Link copied to clipboard
open class WhileStatementContext : ParserRuleContext

Properties

Link copied to clipboard
open override val atn: ATN
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var context: ParserRuleContext?
Link copied to clipboard
val currentToken: Token?
Link copied to clipboard
Link copied to clipboard
var errorHandler: ANTLRErrorStrategy
Link copied to clipboard
val errorListenerDispatch: ANTLRErrorListener
Link copied to clipboard
val errorListeners: List<ANTLRErrorListener>
Link copied to clipboard
val expectedTokens: IntervalSet
Link copied to clipboard
Link copied to clipboard
open override val grammarFileName: String
Link copied to clipboard
open override var interpreter: ParserATNSimulator
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val parseInfo: ParseInfo?
Link copied to clipboard
val parseListeners: List<ParseTreeListener>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val ruleNames: Array<String>
Link copied to clipboard
open override val serializedATN: String
Link copied to clipboard
Link copied to clipboard
var state: Int
Link copied to clipboard
open override var tokenFactory: TokenFactory<*>
Link copied to clipboard
open override val tokenNames: Array<String>
Link copied to clipboard
var tokenStream: TokenStream
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val vocabulary: Vocabulary

Functions

Link copied to clipboard
open fun action(_localctx: RuleContext?, ruleIndex: Int, actionIndex: Int)
Link copied to clipboard
fun addErrorListener(listener: ANTLRErrorListener)
Link copied to clipboard
open fun addParseListener(listener: ParseTreeListener)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun compileParseTreePattern(pattern: String, patternRuleIndex: Int): ParseTreePattern
open fun compileParseTreePattern(pattern: String, patternRuleIndex: Int, lexer: Lexer): ParseTreePattern
Link copied to clipboard
Link copied to clipboard
open fun consume(): Token
Link copied to clipboard
open fun createErrorNode(parent: ParserRuleContext?, t: Token): ErrorNode
Link copied to clipboard
open fun createTerminalNode(parent: ParserRuleContext?, t: Token): TerminalNode
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun dumpDFA(dumpStream: System.PrintStream)
Link copied to clipboard
Link copied to clipboard
fun enterOuterAlt(localctx: ParserRuleContext, altNum: Int)
Link copied to clipboard
open fun enterRecursionRule(localctx: ParserRuleContext, state: Int, ruleIndex: Int, precedence: Int)
Link copied to clipboard
open fun enterRule(localctx: ParserRuleContext, state: Int, ruleIndex: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun exitRule()
Link copied to clipboard
Link copied to clipboard
fun getErrorHeader(e: RecognitionException): String
Link copied to clipboard
open fun getInvokingContext(ruleIndex: Int): ParserRuleContext?
Link copied to clipboard
open fun getRuleIndex(ruleName: String): Int
Link copied to clipboard
fun getRuleInvocationStack(ctx: RuleContext?): List<String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getTokenType(tokenName: String): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun inContext(context: String): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isExpectedToken(symbol: Int): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun match(ttype: Int): Token
Link copied to clipboard
open fun matchWildcard(): Token
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun notifyErrorListeners(offendingToken: Token, msg: String, e: RecognitionException?)
Link copied to clipboard
Link copied to clipboard
open override fun precpred(localctx: RuleContext, precedence: Int): Boolean
Link copied to clipboard
open fun pushNewRecursionContext(localctx: ParserRuleContext, state: Int, ruleIndex: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun removeErrorListener(listener: ANTLRErrorListener)
Link copied to clipboard
Link copied to clipboard
open fun removeParseListener(listener: ParseTreeListener)
Link copied to clipboard
Link copied to clipboard
open fun reset()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun sempred(_localctx: RuleContext?, ruleIndex: Int, predIndex: Int): Boolean
Link copied to clipboard
fun setProfile(profile: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun unrollRecursionContexts(_parentctx: ParserRuleContext?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard