VAlgoLangParser

open class VAlgoLangParser : Parser

Constructors

VAlgoLangParser
Link copied to clipboard
open fun VAlgoLangParser(input: TokenStream)

Types

AnimationSpeedUpAnnotationContext
Link copied to clipboard
AnnotationContext
Link copied to clipboard
open class AnnotationContext : ParserRuleContext
AnnotationStatementContext
Link copied to clipboard
open class AnnotationStatementContext : VAlgoLangParser.StatContext
Arg_listContext
Link copied to clipboard
open class Arg_listContext : ParserRuleContext
ArgumentListContext
Link copied to clipboard
open class ArgumentListContext : VAlgoLangParser.Arg_listContext
Array_elemContext
Link copied to clipboard
open class Array_elemContext : ParserRuleContext
ArrayElemAssignmentContext
Link copied to clipboard
ArrayElemExprContext
Link copied to clipboard
open class ArrayElemExprContext : VAlgoLangParser.ExprContext
ArrayTypeContext
Link copied to clipboard
open class ArrayTypeContext : VAlgoLangParser.Data_structure_typeContext
Assignment_lhsContext
Link copied to clipboard
open class Assignment_lhsContext : ParserRuleContext
AssignmentStatementContext
Link copied to clipboard
open class AssignmentStatementContext : VAlgoLangParser.StatContext
BinaryExpressionContext
Link copied to clipboard
open class BinaryExpressionContext : VAlgoLangParser.ExprContext
BoolContext
Link copied to clipboard
open class BoolContext : ParserRuleContext
BooleanLiteralContext
Link copied to clipboard
open class BooleanLiteralContext : VAlgoLangParser.ExprContext
BoolTypeContext
Link copied to clipboard
open class BoolTypeContext : VAlgoLangParser.Primitive_typeContext
BracketedExpressionContext
Link copied to clipboard
open class BracketedExpressionContext : VAlgoLangParser.ExprContext
BreakStatementContext
Link copied to clipboard
open class BreakStatementContext : VAlgoLangParser.Loop_statContext
Cast_methodContext
Link copied to clipboard
open class Cast_methodContext : ParserRuleContext
CastExpressionContext
Link copied to clipboard
open class CastExpressionContext : VAlgoLangParser.ExprContext
CharacterLiteralContext
Link copied to clipboard
open class CharacterLiteralContext : VAlgoLangParser.ExprContext
CharTypeContext
Link copied to clipboard
open class CharTypeContext : VAlgoLangParser.Primitive_typeContext
CodeTrackingAnnotationContext
Link copied to clipboard
ConsecutiveStatementContext
Link copied to clipboard
open class ConsecutiveStatementContext : VAlgoLangParser.StatContext
ContinueStatementContext
Link copied to clipboard
open class ContinueStatementContext : VAlgoLangParser.Loop_statContext
Data_structure_initialiserContext
Link copied to clipboard
open class Data_structure_initialiserContext : ParserRuleContext
Data_structure_typeContext
Link copied to clipboard
open class Data_structure_typeContext : ParserRuleContext
DataStructureConstructorContext
Link copied to clipboard
open class DataStructureConstructorContext : VAlgoLangParser.ExprContext
DataStructureTypeContext
Link copied to clipboard
open class DataStructureTypeContext : VAlgoLangParser.TypeContext
DeclarationStatementContext
Link copied to clipboard
open class DeclarationStatementContext : VAlgoLangParser.StatContext
ElseIfContext
Link copied to clipboard
open class ElseIfContext : ParserRuleContext
ExprContext
Link copied to clipboard
open class ExprContext : ParserRuleContext
ForHeaderContext
Link copied to clipboard
open class ForHeaderContext : ParserRuleContext
ForStatementContext
Link copied to clipboard
open class ForStatementContext : VAlgoLangParser.StatContext
FunctionCallContext
Link copied to clipboard
open class FunctionCallContext : VAlgoLangParser.Method_callContext
FunctionContext
Link copied to clipboard
open class FunctionContext : ParserRuleContext
IdentifierAssignmentContext
Link copied to clipboard
IdentifierContext
Link copied to clipboard
open class IdentifierContext : VAlgoLangParser.ExprContext
IfStatementContext
Link copied to clipboard
open class IfStatementContext : VAlgoLangParser.StatContext
Initialiser_listContext
Link copied to clipboard
open class Initialiser_listContext : ParserRuleContext
ListTypeContext
Link copied to clipboard
open class ListTypeContext : VAlgoLangParser.Data_structure_typeContext
Loop_statContext
Link copied to clipboard
open class Loop_statContext : ParserRuleContext
LoopStatementContext
Link copied to clipboard
open class LoopStatementContext : VAlgoLangParser.StatContext
Method_callContext
Link copied to clipboard
open class Method_callContext : ParserRuleContext
MethodCallContext
Link copied to clipboard
open class MethodCallContext : VAlgoLangParser.Method_callContext
MethodCallExpressionContext
Link copied to clipboard
open class MethodCallExpressionContext : VAlgoLangParser.ExprContext
MethodCallStatementContext
Link copied to clipboard
open class MethodCallStatementContext : VAlgoLangParser.StatContext
Node_elem_accessContext
Link copied to clipboard
open class Node_elem_accessContext : ParserRuleContext
Node_elemContext
Link copied to clipboard
open class Node_elemContext : ParserRuleContext
Node_typeContext
Link copied to clipboard
open class Node_typeContext : ParserRuleContext
NodeElemAssignmentContext
Link copied to clipboard
NodeElemExprContext
Link copied to clipboard
open class NodeElemExprContext : VAlgoLangParser.ExprContext
NodeTypeContext
Link copied to clipboard
open class NodeTypeContext : VAlgoLangParser.Data_structure_typeContext
NullLiteralContext
Link copied to clipboard
open class NullLiteralContext : VAlgoLangParser.ExprContext
NumberLiteralContext
Link copied to clipboard
open class NumberLiteralContext : VAlgoLangParser.ExprContext
NumberTypeContext
Link copied to clipboard
open class NumberTypeContext : VAlgoLangParser.Primitive_typeContext
Param_listContext
Link copied to clipboard
open class Param_listContext : ParserRuleContext
ParamContext
Link copied to clipboard
open class ParamContext : ParserRuleContext
ParameterContext
Link copied to clipboard
open class ParameterContext : VAlgoLangParser.ParamContext
ParameterListContext
Link copied to clipboard
open class ParameterListContext : VAlgoLangParser.Param_listContext
Primitive_typeContext
Link copied to clipboard
open class Primitive_typeContext : ParserRuleContext
PrimitiveTypeContext
Link copied to clipboard
open class PrimitiveTypeContext : VAlgoLangParser.TypeContext
ProgramContext
Link copied to clipboard
open class ProgramContext : ParserRuleContext
RangeHeaderContext
Link copied to clipboard
open class RangeHeaderContext : VAlgoLangParser.ForHeaderContext
ReturnStatementContext
Link copied to clipboard
open class ReturnStatementContext : VAlgoLangParser.StatContext
SleepStatementContext
Link copied to clipboard
open class SleepStatementContext : VAlgoLangParser.StatContext
StackTypeContext
Link copied to clipboard
open class StackTypeContext : VAlgoLangParser.Data_structure_typeContext
StatContext
Link copied to clipboard
open class StatContext : ParserRuleContext
StringLiteralContext
Link copied to clipboard
open class StringLiteralContext : VAlgoLangParser.ExprContext
StringTypeContext
Link copied to clipboard
open class StringTypeContext : VAlgoLangParser.Primitive_typeContext
SubtitleAnnotationContext
Link copied to clipboard
open class SubtitleAnnotationContext : VAlgoLangParser.AnnotationContext
ToCharacterContext
Link copied to clipboard
open class ToCharacterContext : VAlgoLangParser.Cast_methodContext
ToNumberContext
Link copied to clipboard
open class ToNumberContext : VAlgoLangParser.Cast_methodContext
TreeTypeContext
Link copied to clipboard
open class TreeTypeContext : VAlgoLangParser.Data_structure_typeContext
TypeContext
Link copied to clipboard
open class TypeContext : ParserRuleContext
UnaryOperatorContext
Link copied to clipboard
open class UnaryOperatorContext : VAlgoLangParser.ExprContext
WhileStatementContext
Link copied to clipboard
open class WhileStatementContext : VAlgoLangParser.StatContext

Functions

action
Link copied to clipboard
open fun action(_localctx: RuleContext, ruleIndex: Int, actionIndex: Int)
addContextToParseTree
Link copied to clipboard
open fun addContextToParseTree()
addErrorListener
Link copied to clipboard
open fun addErrorListener(listener: ANTLRErrorListener)
addParseListener
Link copied to clipboard
open fun addParseListener(listener: ParseTreeListener)
annotation
Link copied to clipboard
fun annotation(): VAlgoLangParser.AnnotationContext
arg_list
Link copied to clipboard
fun arg_list(): VAlgoLangParser.Arg_listContext
array_elem
Link copied to clipboard
fun array_elem(): VAlgoLangParser.Array_elemContext
assignment_lhs
Link copied to clipboard
fun assignment_lhs(): VAlgoLangParser.Assignment_lhsContext
bool
Link copied to clipboard
fun bool(): VAlgoLangParser.BoolContext
cast_method
Link copied to clipboard
fun cast_method(): VAlgoLangParser.Cast_methodContext
compileParseTreePattern
Link copied to clipboard
open fun compileParseTreePattern(pattern: String, patternRuleIndex: Int): ParseTreePattern
consume
Link copied to clipboard
open fun consume(): Token
createErrorNode
Link copied to clipboard
open fun createErrorNode(parent: ParserRuleContext, t: Token): ErrorNode
createTerminalNode
Link copied to clipboard
open fun createTerminalNode(parent: ParserRuleContext, t: Token): TerminalNode
data_structure_type
Link copied to clipboard
dumpDFA
Link copied to clipboard
open fun dumpDFA()
elseIf
Link copied to clipboard
fun elseIf(): VAlgoLangParser.ElseIfContext
enterOuterAlt
Link copied to clipboard
open fun enterOuterAlt(localctx: ParserRuleContext, altNum: Int)
enterRecursionRule
Link copied to clipboard
open fun enterRecursionRule(localctx: ParserRuleContext, ruleIndex: Int)
enterRule
Link copied to clipboard
open fun enterRule(localctx: ParserRuleContext, state: Int, ruleIndex: Int)
exitRule
Link copied to clipboard
open fun exitRule()
expr
Link copied to clipboard
fun expr(): VAlgoLangParser.ExprContext
forHeader
Link copied to clipboard
fun forHeader(): VAlgoLangParser.ForHeaderContext
function
Link copied to clipboard
fun function(): VAlgoLangParser.FunctionContext
getATN
Link copied to clipboard
open fun getATN(): ATN
abstract fun getATN(): ATN
getATNWithBypassAlts
Link copied to clipboard
open fun getATNWithBypassAlts(): ATN
getBuildParseTree
Link copied to clipboard
open fun getBuildParseTree(): Boolean
getContext
Link copied to clipboard
open fun getContext(): ParserRuleContext
getCurrentToken
Link copied to clipboard
open fun getCurrentToken(): Token
getDFAStrings
Link copied to clipboard
open fun getDFAStrings(): List<String>
getErrorHandler
Link copied to clipboard
open fun getErrorHandler(): ANTLRErrorStrategy
getErrorHeader
Link copied to clipboard
open fun getErrorHeader(e: RecognitionException): String
getErrorListenerDispatch
Link copied to clipboard
open fun getErrorListenerDispatch(): ANTLRErrorListener
getErrorListeners
Link copied to clipboard
open fun getErrorListeners(): List<out ANTLRErrorListener>
getExpectedTokens
Link copied to clipboard
open fun getExpectedTokens(): IntervalSet
getExpectedTokensWithinCurrentRule
Link copied to clipboard
open fun getExpectedTokensWithinCurrentRule(): IntervalSet
getGrammarFileName
Link copied to clipboard
open fun getGrammarFileName(): String
abstract fun getGrammarFileName(): String
getInputStream
Link copied to clipboard
open fun getInputStream(): TokenStream
abstract fun getInputStream(): IntStream
getInterpreter
Link copied to clipboard
open fun getInterpreter(): ATNInterpreter
getInvokingContext
Link copied to clipboard
open fun getInvokingContext(ruleIndex: Int): ParserRuleContext
getNumberOfSyntaxErrors
Link copied to clipboard
open fun getNumberOfSyntaxErrors(): Int
getParseInfo
Link copied to clipboard
open fun getParseInfo(): ParseInfo
getParseListeners
Link copied to clipboard
open fun getParseListeners(): List<ParseTreeListener>
getPrecedence
Link copied to clipboard
fun getPrecedence(): Int
getRuleContext
Link copied to clipboard
open fun getRuleContext(): ParserRuleContext
getRuleIndex
Link copied to clipboard
open fun getRuleIndex(ruleName: String): Int
getRuleIndexMap
Link copied to clipboard
open fun getRuleIndexMap(): Map<String, Integer>
getRuleInvocationStack
Link copied to clipboard
open fun getRuleInvocationStack(): List<String>
getRuleNames
Link copied to clipboard
abstract fun getRuleNames(): Array<String>
getSerializedATN
Link copied to clipboard
open fun getSerializedATN(): String
open fun getSerializedATN(): String
getSourceName
Link copied to clipboard
open fun getSourceName(): String
getState
Link copied to clipboard
fun getState(): Int
getTokenErrorDisplay
Link copied to clipboard
open fun getTokenErrorDisplay(t: Token): String
getTokenFactory
Link copied to clipboard
open fun getTokenFactory(): TokenFactory<out Any>
getTokenNames
Link copied to clipboard
abstract fun getTokenNames(): Array<String>
getTokenStream
Link copied to clipboard
open fun getTokenStream(): TokenStream
getTokenType
Link copied to clipboard
open fun getTokenType(tokenName: String): Int
getTokenTypeMap
Link copied to clipboard
open fun getTokenTypeMap(): Map<String, Integer>
getTrimParseTree
Link copied to clipboard
open fun getTrimParseTree(): Boolean
getVocabulary
Link copied to clipboard
open fun getVocabulary(): Vocabulary
open fun getVocabulary(): Vocabulary
inContext
Link copied to clipboard
open fun inContext(context: String): Boolean
initialiser_list
Link copied to clipboard
isExpectedToken
Link copied to clipboard
open fun isExpectedToken(symbol: Int): Boolean
isMatchedEOF
Link copied to clipboard
open fun isMatchedEOF(): Boolean
isTrace
Link copied to clipboard
open fun isTrace(): Boolean
loop_stat
Link copied to clipboard
fun loop_stat(): VAlgoLangParser.Loop_statContext
match
Link copied to clipboard
open fun match(ttype: Int): Token
matchWildcard
Link copied to clipboard
open fun matchWildcard(): Token
method_call
Link copied to clipboard
fun method_call(): VAlgoLangParser.Method_callContext
node_elem
Link copied to clipboard
fun node_elem(): VAlgoLangParser.Node_elemContext
node_elem_access
Link copied to clipboard
node_type
Link copied to clipboard
fun node_type(): VAlgoLangParser.Node_typeContext
notifyErrorListeners
Link copied to clipboard
fun notifyErrorListeners(msg: String)
param
Link copied to clipboard
fun param(): VAlgoLangParser.ParamContext
param_list
Link copied to clipboard
fun param_list(): VAlgoLangParser.Param_listContext
precpred
Link copied to clipboard
open fun precpred(localctx: RuleContext, precedence: Int): Boolean
primitive_type
Link copied to clipboard
fun primitive_type(): VAlgoLangParser.Primitive_typeContext
program
Link copied to clipboard
fun program(): VAlgoLangParser.ProgramContext
pushNewRecursionContext
Link copied to clipboard
open fun pushNewRecursionContext(localctx: ParserRuleContext, state: Int, ruleIndex: Int)
removeErrorListener
Link copied to clipboard
open fun removeErrorListener(listener: ANTLRErrorListener)
removeErrorListeners
Link copied to clipboard
open fun removeErrorListeners()
removeParseListener
Link copied to clipboard
open fun removeParseListener(listener: ParseTreeListener)
removeParseListeners
Link copied to clipboard
open fun removeParseListeners()
reset
Link copied to clipboard
open fun reset()
sempred
Link copied to clipboard
open fun sempred(_localctx: RuleContext, ruleIndex: Int, predIndex: Int): Boolean
open fun sempred(_localctx: RuleContext, ruleIndex: Int, actionIndex: Int): Boolean
setBuildParseTree
Link copied to clipboard
open fun setBuildParseTree(buildParseTrees: Boolean)
setContext
Link copied to clipboard
open fun setContext(ctx: ParserRuleContext)
setErrorHandler
Link copied to clipboard
open fun setErrorHandler(handler: ANTLRErrorStrategy)
setInputStream
Link copied to clipboard
fun setInputStream(input: IntStream)
setInterpreter
Link copied to clipboard
open fun setInterpreter(interpreter: ATNInterpreter)
setProfile
Link copied to clipboard
open fun setProfile(profile: Boolean)
setState
Link copied to clipboard
fun setState(atnState: Int)
setTokenFactory
Link copied to clipboard
open fun setTokenFactory(factory: TokenFactory<out Any>)
setTokenStream
Link copied to clipboard
open fun setTokenStream(input: TokenStream)
setTrace
Link copied to clipboard
open fun setTrace(trace: Boolean)
setTrimParseTree
Link copied to clipboard
open fun setTrimParseTree(trimParseTrees: Boolean)
stat
Link copied to clipboard
fun stat(): VAlgoLangParser.StatContext
triggerEnterRuleEvent
Link copied to clipboard
open fun triggerEnterRuleEvent()
triggerExitRuleEvent
Link copied to clipboard
open fun triggerExitRuleEvent()
type
Link copied to clipboard
fun type(): VAlgoLangParser.TypeContext
unrollRecursionContexts
Link copied to clipboard
open fun unrollRecursionContexts(_parentctx: ParserRuleContext)

Properties

_ATN
Link copied to clipboard
val _ATN: ATN
_serializedATN
Link copied to clipboard
val _serializedATN: String
ADD
Link copied to clipboard
val ADD: Int
AND
Link copied to clipboard
val AND: Int
ARRAY
Link copied to clipboard
val ARRAY: Int
AT
Link copied to clipboard
val AT: Int
BOOL_TYPE
Link copied to clipboard
val BOOL_TYPE: Int
BREAK
Link copied to clipboard
val BREAK: Int
CHAR_LITER
Link copied to clipboard
val CHAR_LITER: Int
CHAR_TYPE
Link copied to clipboard
val CHAR_TYPE: Int
CLOSE_CURLY_BRACKET
Link copied to clipboard
val CLOSE_CURLY_BRACKET: Int
CLOSE_PARENTHESIS
Link copied to clipboard
val CLOSE_PARENTHESIS: Int
CLOSE_SQUARE_BRACKET
Link copied to clipboard
val CLOSE_SQUARE_BRACKET: Int
CODE_COMMENT
Link copied to clipboard
val CODE_COMMENT: Int
COLON
Link copied to clipboard
val COLON: Int
COMMA
Link copied to clipboard
val COMMA: Int
COMMENT
Link copied to clipboard
val COMMENT: Int
CONTINUE
Link copied to clipboard
val CONTINUE: Int
DIVIDE
Link copied to clipboard
val DIVIDE: Int
DOT
Link copied to clipboard
val DOT: Int
ELSE
Link copied to clipboard
val ELSE: Int
EQ
Link copied to clipboard
val EQ: Int
EQUAL
Link copied to clipboard
val EQUAL: Int
FALSE
Link copied to clipboard
val FALSE: Int
FOR
Link copied to clipboard
val FOR: Int
FUN
Link copied to clipboard
val FUN: Int
GE
Link copied to clipboard
val GE: Int
GT
Link copied to clipboard
val GT: Int
IDENT
Link copied to clipboard
val IDENT: Int
IF
Link copied to clipboard
val IF: Int
IN
Link copied to clipboard
val IN: Int
LE
Link copied to clipboard
val LE: Int
LET
Link copied to clipboard
val LET: Int
LIST
Link copied to clipboard
val LIST: Int
LT
Link copied to clipboard
val LT: Int
MINUS
Link copied to clipboard
val MINUS: Int
NEQ
Link copied to clipboard
val NEQ: Int
NOT
Link copied to clipboard
val NOT: Int
NULL
Link copied to clipboard
val NULL: Int
NUMBER
Link copied to clipboard
val NUMBER: Int
NUMBER_TYPE
Link copied to clipboard
val NUMBER_TYPE: Int
OPEN_CURLY_BRACKET
Link copied to clipboard
val OPEN_CURLY_BRACKET: Int
OPEN_PARENTHESIS
Link copied to clipboard
val OPEN_PARENTHESIS: Int
OPEN_SQUARE_BRACKET
Link copied to clipboard
val OPEN_SQUARE_BRACKET: Int
OR
Link copied to clipboard
val OR: Int
RANGE
Link copied to clipboard
val RANGE: Int
RETURN
Link copied to clipboard
val RETURN: Int
RULE_annotation
Link copied to clipboard
val RULE_annotation: Int
RULE_arg_list
Link copied to clipboard
val RULE_arg_list: Int
RULE_array_elem
Link copied to clipboard
val RULE_array_elem: Int
RULE_assignment_lhs
Link copied to clipboard
val RULE_assignment_lhs: Int
RULE_bool
Link copied to clipboard
val RULE_bool: Int
RULE_cast_method
Link copied to clipboard
val RULE_cast_method: Int
RULE_data_structure_initialiser
Link copied to clipboard
val RULE_data_structure_initialiser: Int
RULE_data_structure_type
Link copied to clipboard
val RULE_data_structure_type: Int
RULE_elseIf
Link copied to clipboard
val RULE_elseIf: Int
RULE_expr
Link copied to clipboard
val RULE_expr: Int
RULE_forHeader
Link copied to clipboard
val RULE_forHeader: Int
RULE_function
Link copied to clipboard
val RULE_function: Int
RULE_initialiser_list
Link copied to clipboard
val RULE_initialiser_list: Int
RULE_loop_stat
Link copied to clipboard
val RULE_loop_stat: Int
RULE_method_call
Link copied to clipboard
val RULE_method_call: Int
RULE_node_elem
Link copied to clipboard
val RULE_node_elem: Int
RULE_node_elem_access
Link copied to clipboard
val RULE_node_elem_access: Int
RULE_node_type
Link copied to clipboard
val RULE_node_type: Int
RULE_param
Link copied to clipboard
val RULE_param: Int
RULE_param_list
Link copied to clipboard
val RULE_param_list: Int
RULE_primitive_type
Link copied to clipboard
val RULE_primitive_type: Int
RULE_program
Link copied to clipboard
val RULE_program: Int
RULE_stat
Link copied to clipboard
val RULE_stat: Int
RULE_type
Link copied to clipboard
val RULE_type: Int
ruleNames
Link copied to clipboard
val ruleNames: Array<String>
SEMI
Link copied to clipboard
val SEMI: Int
SLEEP
Link copied to clipboard
val SLEEP: Int
SPEED
Link copied to clipboard
val SPEED: Int
STACK
Link copied to clipboard
val STACK: Int
STEP_INTO
Link copied to clipboard
val STEP_INTO: Int
STEP_OVER
Link copied to clipboard
val STEP_OVER: Int
STRING
Link copied to clipboard
val STRING: Int
STRING_TYPE
Link copied to clipboard
val STRING_TYPE: Int
SUBTITLE
Link copied to clipboard
val SUBTITLE: Int
SUBTITLE_ONCE
Link copied to clipboard
val SUBTITLE_ONCE: Int
TIMES
Link copied to clipboard
val TIMES: Int
TO_CHAR
Link copied to clipboard
val TO_CHAR: Int
TO_NUMBER
Link copied to clipboard
val TO_NUMBER: Int
tokenNames
Link copied to clipboard
val tokenNames: Array<String>
Use VOCABULARY instead.
TREE
Link copied to clipboard
val TREE: Int
TREE_NODE
Link copied to clipboard
val TREE_NODE: Int
TRUE
Link copied to clipboard
val TRUE: Int
VOCABULARY
Link copied to clipboard
val VOCABULARY: Vocabulary
WHILE
Link copied to clipboard
val WHILE: Int
WHITESPACE
Link copied to clipboard
val WHITESPACE: Int