//----< attempt to open source of tokens >----------------------- /* * If src is successfully opened, it uses TokenState.nextState(context_) * to set the initial state, based on the source content. */ public bool open(string path) { TokenSourceFile src = new TokenSourceFile(context_); context_.src = src; return(src.open(path)); }
public bool Open(string path) { TokenSourceFile source = new TokenSourceFile(context); context.source = source; return(source.Open(path)); }