public interface HierarchicalReader extends Reader
To give the hierarchical reader to a Lexical Analyzer is done usually following the pattern:
Reader reader = someSourceProvider.get("some source name"); HierarchicalReader hierarchicalReader = new SomeHierarchicalReader(); hierarchicalReader.include(reader); LexicalAnalyzer lexicalAnalyzer = new ScriptBasicLexicalAnalyzer(); la.set(hierarchicalReader);
Modifier and Type | Method and Description |
---|---|
void |
include(Reader reader) |
get, getSourceProvider, pushBack, set
setFactory
getFileName, getLineNumber, getPosition
void include(Reader reader)
Copyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.