Class PrologParser.ClauseContext
java.lang.Object
org.antlr.v4.runtime.RuleContext
org.antlr.v4.runtime.ParserRuleContext
edu.unc.cs.comp524.parsers.prolog.PrologParser.ClauseContext
- 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
- Direct Known Subclasses:
PrologParser.FactContext,PrologParser.PredicateContext
- Enclosing class:
- PrologParser
public static class PrologParser.ClauseContext
extends org.antlr.v4.runtime.ParserRuleContext
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ClauseContext()ClauseContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState) -
Method Summary
Modifier and Type Method Description voidcopyFrom(PrologParser.ClauseContext ctx)intgetRuleIndex()Methods inherited from class org.antlr.v4.runtime.ParserRuleContext
addChild, addChild, addChild, addErrorNode, copyFrom, enterRule, exitRule, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoString
-
Constructor Details
-
ClauseContext
public ClauseContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState) -
ClauseContext
public ClauseContext()
-
-
Method Details
-
getRuleIndex
public int getRuleIndex()- Overrides:
getRuleIndexin classorg.antlr.v4.runtime.RuleContext
-
copyFrom
-