示例#1
0
        public ClassFeatureBlock(ClassFeatureBlockOpenTagToken StartToken, ControlBlockStream Contents, BlockTagCloseToken EndToken)
        {
            this.StartToken = StartToken;

            this.Contents = Contents;

            this.EndToken = EndToken;
        }
示例#2
0
        // Token
        public bool TryParseClassFeatureBlockOpenTagToken(Lexer lexer, out ClassFeatureBlockOpenTagToken result)
        {
            var next = lexer.Next();

            if (next.Text == "<#=")
            {
                result = new ClassFeatureBlockOpenTagToken(next);
                return(true);
            }

            result = null;
            return(false);
        }         // Parse method end