Class SemPred
java.lang.Object
org.antlr.v4.codegen.model.OutputModelObject
org.antlr.v4.codegen.model.SrcOp
org.antlr.v4.codegen.model.RuleElement
org.antlr.v4.codegen.model.Action
org.antlr.v4.codegen.model.SemPred
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe translated chunks of the user-specified terminal optionfail, if it was used and the value is an action.The user-specified terminal optionfail, if it was used and the value is a string literal.The predicate string with{and}?stripped from the ends.Fields inherited from class RuleElement
stateNumberFields inherited from class SrcOp
enclosingBlock, enclosingRuleRunction, uniqueIDFields inherited from class OutputModelObject
ast, factory -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SrcOp
getContextName, getOuterMostAltCodeBlock
-
Field Details
-
msg
The user-specified terminal optionfail, if it was used and the value is a string literal. For example:{pred}?<fail='message'> -
predicate
The predicate string with{and}?stripped from the ends. -
failChunks
The translated chunks of the user-specified terminal optionfail, if it was used and the value is an action. For example:{pred}?<fail={"Java literal"}>
-
-
Constructor Details
-
SemPred
-