public class SemPred extends Action
Modifier and Type | Field and Description |
---|---|
List<ActionChunk> |
failChunks
The translated chunks of the user-specified terminal option
fail ,
if it was used and the value is an action. |
String |
msg
The user-specified terminal option
fail , if it was used and the
value is a string literal. |
String |
predicate
The predicate string with
{ and }? stripped from the ends. |
stateNumber
enclosingBlock, enclosingRuleRunction, uniqueID
ast, factory
Constructor and Description |
---|
SemPred(OutputModelFactory factory,
ActionAST ast) |
public String msg
fail
, if it was used and the
value is a string literal. For example:
{pred}?<fail='message'>
public String predicate
{
and }?
stripped from the ends.public List<ActionChunk> failChunks
fail
,
if it was used and the value is an action. For example:
{pred}?<fail={"Java literal"}>
public SemPred(OutputModelFactory factory, ActionAST ast)
Copyright © 1992–2020 ANTLR. All rights reserved.