public ClassFeatureBlock(ClassFeatureBlockOpenTagToken StartToken, ControlBlockStream Contents, BlockTagCloseToken EndToken) { this.StartToken = StartToken; this.Contents = Contents; this.EndToken = EndToken; }
// 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