Top Inners Fields Constructors Methods
org.antlr.v4.codegen.model

public Class TestSetInline

extends SrcOp
Class Inheritance
Imports
org.antlr.v4.codegen.OutputModelFactory, .Target, org.antlr.v4.runtime.misc.IntervalSet, org.antlr.v4.tool.ast.GrammarAST, java.util.ArrayList, .List

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public final TestSetInline.Bitset[]
public final int
public final String
Inherited from org.antlr.v4.codegen.model.SrcOp:
enclosingBlockenclosingRuleRunctionuniqueID

Constructor Summary

AccessConstructor and Description
public
TestSetInline(OutputModelFactory factory, GrammarAST ast, IntervalSet set, int wordSize)

Method Summary

Modifier and TypeMethod and Description
private static TestSetInline.Bitset[]
createBitsets(OutputModelFactory factory, IntervalSet set, int wordSize, boolean useZeroOffset)

Inherited from org.antlr.v4.codegen.model.SrcOp:
getContextNamegetOuterMostAltCodeBlock

Field Detail

bitsetsback to summary
public final TestSetInline.Bitset[] bitsets
bitsetWordSizeback to summary
public final int bitsetWordSize
varNameback to summary
public final String varName

Constructor Detail

TestSetInlineback to summary
public TestSetInline(OutputModelFactory factory, GrammarAST ast, IntervalSet set, int wordSize)

Method Detail

createBitsetsback to summary
private static TestSetInline.Bitset[] createBitsets(OutputModelFactory factory, IntervalSet set, int wordSize, boolean useZeroOffset)
org.antlr.v4.codegen.model back to summary

public final Class TestSetInline.Bitset

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private long
public final int
private final List<TokenInfo>

Constructor Summary

AccessConstructor and Description
public
Bitset(int shift)

Method Summary

Modifier and TypeMethod and Description
public void
addToken(int type, String name)

public long
public List<TokenInfo>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

calculatedback to summary
private long calculated
shiftback to summary
public final int shift
tokensback to summary
private final List<TokenInfo> tokens

Constructor Detail

Bitsetback to summary
public Bitset(int shift)

Method Detail

addTokenback to summary
public void addToken(int type, String name)
getCalculatedback to summary
public long getCalculated()
getTokensback to summary
public List<TokenInfo> getTokens()