Package org.apache.sysds.parser.dml
Class DmlParser.IfStatementContext
- java.lang.Object
-
- org.antlr.v4.runtime.RuleContext
-
- org.antlr.v4.runtime.ParserRuleContext
-
- org.apache.sysds.parser.dml.DmlParser.StatementContext
-
- org.apache.sysds.parser.dml.DmlParser.IfStatementContext
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTree
,org.antlr.v4.runtime.tree.RuleNode
,org.antlr.v4.runtime.tree.SyntaxTree
,org.antlr.v4.runtime.tree.Tree
- Enclosing class:
- DmlParser
public static class DmlParser.IfStatementContext extends DmlParser.StatementContext
-
-
Field Summary
Fields Modifier and Type Field Description List<DmlParser.StatementContext>
elseBody
List<DmlParser.StatementContext>
ifBody
DmlParser.ExpressionContext
predicate
DmlParser.StatementContext
statement
-
Fields inherited from class org.apache.sysds.parser.dml.DmlParser.StatementContext
info
-
-
Constructor Summary
Constructors Constructor Description IfStatementContext(DmlParser.StatementContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
void
exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
DmlParser.ExpressionContext
expression()
List<DmlParser.StatementContext>
statement()
DmlParser.StatementContext
statement(int i)
-
Methods inherited from class org.apache.sysds.parser.dml.DmlParser.StatementContext
copyFrom, getRuleIndex
-
Methods inherited from class org.antlr.v4.runtime.ParserRuleContext
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoString
-
-
-
-
Field Detail
-
predicate
public DmlParser.ExpressionContext predicate
-
statement
public DmlParser.StatementContext statement
-
ifBody
public List<DmlParser.StatementContext> ifBody
-
elseBody
public List<DmlParser.StatementContext> elseBody
-
-
Constructor Detail
-
IfStatementContext
public IfStatementContext(DmlParser.StatementContext ctx)
-
-
Method Detail
-
expression
public DmlParser.ExpressionContext expression()
-
statement
public List<DmlParser.StatementContext> statement()
-
statement
public DmlParser.StatementContext statement(int i)
-
enterRule
public void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
enterRule
in classorg.antlr.v4.runtime.ParserRuleContext
-
exitRule
public void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
exitRule
in classorg.antlr.v4.runtime.ParserRuleContext
-
-