Antlr3.Tool.Grammar.GetTokenTypesWithoutID C# (CSharp) Method

GetTokenTypesWithoutID() public method

public GetTokenTypesWithoutID ( ) : ICollection
return ICollection
        public virtual ICollection<int> GetTokenTypesWithoutID()
        {
            IList<int> types = new List<int>();
            for ( int t = Label.MIN_TOKEN_TYPE; t <= MaxTokenType; t++ )
            {
                string name = GetTokenDisplayName( t );
                if ( name[0] == '\'' )
                {
                    types.Add( t );
                }
            }
            return types;
        }
Grammar