Antlr4.Runtime.Atn.SetTransition.SetTransition C# (CSharp) Method

SetTransition() public method

public SetTransition ( ATNState target, IntervalSet set ) : Antlr4.Runtime.Atn
target ATNState
set Antlr4.Runtime.Misc.IntervalSet
return Antlr4.Runtime.Atn
        public SetTransition(ATNState target, IntervalSet set)
            : base(target)
        {
            // TODO (sam): should we really allow null here?
            if (set == null)
            {
                set = IntervalSet.Of(TokenConstants.InvalidType);
            }
            this.set = set;
        }