Antlr3.Tool.Grammar.GetTokenTypesWithoutID C# (CSharp) 메소드

GetTokenTypesWithoutID() 공개 메소드

public GetTokenTypesWithoutID ( ) : ICollection
리턴 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