Antlr4.Codegen.Model.TestSetInline.TestSetInline C# (CSharp) Method

TestSetInline() public method

public TestSetInline ( OutputModelFactory factory, GrammarAST ast, Antlr4.Runtime.Misc.IntervalSet set, int wordSize ) : System.Collections.Generic
factory OutputModelFactory
ast Antlr4.Tool.Ast.GrammarAST
set Antlr4.Runtime.Misc.IntervalSet
wordSize int
return System.Collections.Generic
        public TestSetInline(OutputModelFactory factory, GrammarAST ast, IntervalSet set, int wordSize)
            : base(factory, ast)
        {
            bitsetWordSize = wordSize;
            Bitset[] withZeroOffset = CreateBitsets(factory, set, wordSize, true);
            Bitset[] withoutZeroOffset = CreateBitsets(factory, set, wordSize, false);
            this.bitsets = withZeroOffset.Length <= withoutZeroOffset.Length ? withZeroOffset : withoutZeroOffset;
            this.varName = "_la";
        }