Пример #1
0
            public TokenInterFragment AsFragment()
            {
                var fragment = new TokenInterFragment();

                fragment.Productions.Add(new TokenInterProduction(CreateArray()));

                return(fragment);
            }
Пример #2
0
            private TokenInterFragment AsFragment()
            {
                var parserFragment = new TokenInterFragment();

                parserFragment.Productions.Add(new TokenInterProduction(new TokenInterEntry[] { this }));

                return(parserFragment);
            }
            public TokenInterFragment AsFragment()
            {
                var parserFragment = new TokenInterFragment();

                parserFragment.Productions.FromBuilder(this);

                return(parserFragment);
            }