接口的使用
org.antlr.runtime.CharStream
-
使用CharStream的程序包 程序包 说明 org.antlr.grammar.v3 org.antlr.gunit org.antlr.gunit.swingui.parsers org.antlr.runtime org.antlr.runtime.debug -
-
org.antlr.grammar.v3中CharStream的使用
参数类型为CharStream的org.antlr.grammar.v3中的构造器 构造器 说明 ActionAnalysis(CharStream input)ActionAnalysis(CharStream input, RecognizerSharedState state)ActionTranslator(CharStream input)ActionTranslator(CharStream input, RecognizerSharedState state)ANTLRLexer(CharStream input)ANTLRLexer(CharStream input, RecognizerSharedState state)ANTLRv3Lexer(CharStream input)ANTLRv3Lexer(CharStream input, RecognizerSharedState state) -
org.antlr.gunit中CharStream的使用
参数类型为CharStream的org.antlr.gunit中的方法 修饰符和类型 方法 说明 static GrammarInfoInterp. parse(CharStream input)参数类型为CharStream的org.antlr.gunit中的构造器 构造器 说明 gUnitLexer(CharStream input)gUnitLexer(CharStream input, RecognizerSharedState state) -
org.antlr.gunit.swingui.parsers中CharStream的使用
参数类型为CharStream的org.antlr.gunit.swingui.parsers中的构造器 构造器 说明 ANTLRv3Lexer(CharStream input)ANTLRv3Lexer(CharStream input, RecognizerSharedState state)StGUnitLexer(CharStream input)StGUnitLexer(CharStream input, RecognizerSharedState state) -
org.antlr.runtime中CharStream的使用
实现CharStream的org.antlr.runtime中的类 修饰符和类型 类 说明 classANTLRFileStreamThis is a char buffer stream that is loaded from a file all at once when you construct the object.classANTLRInputStreamA kind of ReaderStream that pulls from an InputStream.classANTLRReaderStreamVacuum all input from a Reader and then treat it like a StringStream.classANTLRStringStreamA pretty quick CharStream that pulls all data from an array directly.声明为CharStream的org.antlr.runtime中的字段 修饰符和类型 字段 说明 protected CharStreamCommonToken. inputprotected CharStreamLexer. inputWhere is the lexer drawing characters from?返回CharStream的org.antlr.runtime中的方法 修饰符和类型 方法 说明 CharStreamLexer. getCharStream()CharStreamClassicToken. getInputStream()CharStreamCommonToken. getInputStream()CharStreamToken. getInputStream()From what character stream was this token created? You don't have to implement but it's nice to know where a Token comes from if you have include files etc...参数类型为CharStream的org.antlr.runtime中的方法 修饰符和类型 方法 说明 voidLexer. setCharStream(CharStream input)Set the char stream and reset the lexervoidClassicToken. setInputStream(CharStream input)voidCommonToken. setInputStream(CharStream input)voidToken. setInputStream(CharStream input)参数类型为CharStream的org.antlr.runtime中的构造器 构造器 说明 CommonToken(CharStream input, int type, int channel, int start, int stop)Lexer(CharStream input)Lexer(CharStream input, RecognizerSharedState state) -
org.antlr.runtime.debug中CharStream的使用
返回CharStream的org.antlr.runtime.debug中的方法 修饰符和类型 方法 说明 CharStreamRemoteDebugEventSocketListener.ProxyToken. getInputStream()参数类型为CharStream的org.antlr.runtime.debug中的方法 修饰符和类型 方法 说明 voidRemoteDebugEventSocketListener.ProxyToken. setInputStream(CharStream input)
-