public override Token TryMatch(ParsingContext context, ISourceStream source) { Match m = _expression.Match(source.GetRestOfLine(source.PreviewPosition)); if (!m.Success || m.Index != 0) { return(null); } source.PreviewPosition += m.Length; return(source.CreateToken(this.OutputTerminal)); }