IfStatementContext

open class IfStatementContext : VAlgoLangParser.StatContext

Constructors

IfStatementContext
Link copied to clipboard
open fun IfStatementContext(ctx: VAlgoLangParser.StatContext)

Functions

accept
Link copied to clipboard
open fun <T> accept(visitor: ParseTreeVisitor<out T>): T
open fun <T> accept(visitor: ParseTreeVisitor<out T>): T
addAnyChild
Link copied to clipboard
open fun <T : ParseTree?> addAnyChild(t: T): T
addChild
Link copied to clipboard
open fun addChild(ruleInvocation: RuleContext): RuleContext
open fun addChild(t: TerminalNode): TerminalNode
addErrorNode
Link copied to clipboard
open fun addErrorNode(errorNode: ErrorNode): ErrorNode
CLOSE_CURLY_BRACKET
Link copied to clipboard
open fun CLOSE_CURLY_BRACKET(): List<TerminalNode>
open fun CLOSE_CURLY_BRACKET(i: Int): TerminalNode
CLOSE_PARENTHESIS
Link copied to clipboard
open fun CLOSE_PARENTHESIS(): TerminalNode
copyFrom
Link copied to clipboard
open fun copyFrom(ctx: VAlgoLangParser.StatContext)
open fun copyFrom(ctx: ParserRuleContext)
depth
Link copied to clipboard
open fun depth(): Int
ELSE
Link copied to clipboard
open fun ELSE(): TerminalNode
elseIf
Link copied to clipboard
open fun elseIf(): List<VAlgoLangParser.ElseIfContext>
open fun elseIf(i: Int): VAlgoLangParser.ElseIfContext
enterRule
Link copied to clipboard
open fun enterRule(listener: ParseTreeListener)
exitRule
Link copied to clipboard
open fun exitRule(listener: ParseTreeListener)
expr
Link copied to clipboard
open fun expr(): VAlgoLangParser.ExprContext
getAltNumber
Link copied to clipboard
open fun getAltNumber(): Int
getChild
Link copied to clipboard
abstract fun getChild(p: Int): Tree
open fun getChild(i: Int): ParseTree
open fun <T : ParseTree?> getChild(ctxType: Class<out T>, i: Int): T
getChildCount
Link copied to clipboard
open fun getChildCount(): Int
getParent
Link copied to clipboard
abstract fun getParent(): ParseTree
abstract fun getParent(): Tree
open fun getParent(): ParserRuleContext
open fun getParent(): RuleContext
getPayload
Link copied to clipboard
abstract fun getPayload(): Any
open fun getPayload(): RuleContext
getRuleContext
Link copied to clipboard
open fun getRuleContext(): RuleContext
open fun <T : ParserRuleContext?> getRuleContext(ctxType: Class<out T>, i: Int): T
getRuleContexts
Link copied to clipboard
open fun <T : ParserRuleContext?> getRuleContexts(ctxType: Class<out T>): List<T>
getRuleIndex
Link copied to clipboard
open fun getRuleIndex(): Int
open fun getRuleIndex(): Int
getSourceInterval
Link copied to clipboard
open fun getSourceInterval(): Interval
getStart
Link copied to clipboard
open fun getStart(): Token
getStop
Link copied to clipboard
open fun getStop(): Token
getText
Link copied to clipboard
open fun getText(): String
getToken
Link copied to clipboard
open fun getToken(ttype: Int, i: Int): TerminalNode
getTokens
Link copied to clipboard
open fun getTokens(ttype: Int): List<TerminalNode>
IF
Link copied to clipboard
open fun IF(): TerminalNode
isEmpty
Link copied to clipboard
open fun isEmpty(): Boolean
OPEN_CURLY_BRACKET
Link copied to clipboard
open fun OPEN_CURLY_BRACKET(): List<TerminalNode>
open fun OPEN_CURLY_BRACKET(i: Int): TerminalNode
OPEN_PARENTHESIS
Link copied to clipboard
open fun OPEN_PARENTHESIS(): TerminalNode
removeLastChild
Link copied to clipboard
open fun removeLastChild()
setAltNumber
Link copied to clipboard
open fun setAltNumber(altNumber: Int)
setParent
Link copied to clipboard
open fun setParent(parent: RuleContext)
stat
Link copied to clipboard
open fun stat(): List<VAlgoLangParser.StatContext>
open fun stat(i: Int): VAlgoLangParser.StatContext
toInfoString
Link copied to clipboard
open fun toInfoString(recognizer: Parser): String
toString
Link copied to clipboard
open fun toString(): String
toStringTree
Link copied to clipboard
open fun toStringTree(recog: Parser): String

Properties

elseStat
Link copied to clipboard
open val elseStat: VAlgoLangParser.StatContext
ifCond
Link copied to clipboard
open val ifCond: VAlgoLangParser.ExprContext
ifStat
Link copied to clipboard
open val ifStat: VAlgoLangParser.StatContext