本文整理了Java中org.antlr.runtime.IntStream.rewind()
方法的一些代码示例,展示了IntStream.rewind()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。IntStream.rewind()
方法的具体详情如下:
包路径:org.antlr.runtime.IntStream
类名称:IntStream
方法名:rewind
[英]Rewind to the input position of the last marker. Used currently only after a cyclic DFA and just before starting a sem/syn predicate to get the input position back to the start of the decision. Do not "pop" the marker off the state. mark(i) and rewind(i) should balance still. It is like invoking rewind(last marker) but it should not "pop" the marker off. It's like seek(last marker's input position).
[中]倒带到最后一个标记的输入位置。当前仅在循环DFA之后和启动sem/syn谓词之前使用,以将输入位置返回到决策的开始。不要“弹出”状态标记。标记(i)和倒带(i)应保持平衡。这类似于调用rewind(最后一个标记),但不应“弹出”标记。这就像seek(最后一个标记的输入位置)。
代码示例来源:origin: apache/hive
input.rewind();
s = -1;
if ( ((allowQuotedId())) ) {s = 3;}
代码示例来源:origin: apache/drill
input.rewind();
s = -1;
if ( ((allowQuotedId())) ) {s = 3;}
代码示例来源:origin: org.databene/databene-formats
input.rewind();
s = -1;
if ( (LA3_0==' ') ) {s = 1;}
代码示例来源:origin: org.databene/databene-webdecs
input.rewind();
s = -1;
if ( (LA3_0==' ') ) {s = 1;}
代码示例来源:origin: org.databene/databene-webdecs
input.rewind();
s = -1;
if ( ((classMode)) ) {s = 12;}
input.rewind();
s = -1;
if ( ((!numQuantifierMode)) ) {s = 10;}
input.rewind();
s = -1;
if ( (LA8_0=='^') ) {s = 1;}
input.rewind();
s = -1;
if ( (!(((!numQuantifierMode)))) ) {s = 27;}
input.rewind();
s = -1;
s = 26;
input.rewind();
s = -1;
if ( ((LA8_11>='0' && LA8_11<='9')) && ((numQuantifierMode))) {s = 25;}
代码示例来源:origin: org.databene/databene-formats
input.rewind();
s = -1;
if ( ((classMode)) ) {s = 12;}
input.rewind();
s = -1;
if ( ((!numQuantifierMode)) ) {s = 10;}
input.rewind();
s = -1;
if ( (LA8_0=='^') ) {s = 1;}
input.rewind();
s = -1;
if ( (!(((!numQuantifierMode)))) ) {s = 27;}
input.rewind();
s = -1;
s = 26;
input.rewind();
s = -1;
if ( ((LA8_11>='0' && LA8_11<='9')) && ((numQuantifierMode))) {s = 25;}
代码示例来源:origin: com.github.sommeri/less4j
input.rewind();
s = -1;
if ( (LA201_21=='(') && (synpred14_Less())) {s = 20;}
input.rewind();
s = -1;
if ( (LA201_22=='(') && (synpred14_Less())) {s = 20;}
input.rewind();
s = -1;
if ( (LA201_29=='(') && (synpred14_Less())) {s = 20;}
input.rewind();
s = -1;
if ( (LA201_11=='(') && (synpred14_Less())) {s = 20;}
代码示例来源:origin: com.github.sommeri/less4j
input.rewind();
s = -1;
if ( (LA213_75=='(') && (synpred17_Less())) {s = 74;}
input.rewind();
s = -1;
if ( (LA213_76=='(') && (synpred17_Less())) {s = 74;}
input.rewind();
s = -1;
if ( (LA213_84=='(') && (synpred17_Less())) {s = 74;}
input.rewind();
s = -1;
if ( (LA213_64=='(') && (synpred17_Less())) {s = 74;}
代码示例来源:origin: com.github.sommeri/less4j
input.rewind();
s = -1;
if ( (LA221_33=='(') && (synpred20_Less())) {s = 43;}
input.rewind();
s = -1;
if ( (LA221_53=='(') && (synpred20_Less())) {s = 43;}
input.rewind();
s = -1;
if ( (LA221_44=='(') && (synpred20_Less())) {s = 43;}
input.rewind();
s = -1;
if ( (LA221_45=='(') && (synpred20_Less())) {s = 43;}
代码示例来源:origin: io.virtdata/virtdata-lib-realer
input.rewind();
s = -1;
if ( ((LA35_2 >= '\u0000' && LA35_2 <= '\t')||(LA35_2 >= '\u000B' && LA35_2 <= '\f')||(LA35_2 >= '\u000E' && LA35_2 <= '\uFFFF')) && (((!isLexerRule)||(isLexerRule)))) {s = 40;}
代码示例来源:origin: org.antlr/antlr4
input.rewind();
s = -1;
if ( ((LA35_2 >= '\u0000' && LA35_2 <= '\t')||(LA35_2 >= '\u000B' && LA35_2 <= '\f')||(LA35_2 >= '\u000E' && LA35_2 <= '\uFFFF')) && (((!isLexerRule)||(isLexerRule)))) {s = 40;}
代码示例来源:origin: com.tunnelvisionlabs/antlr4
input.rewind();
s = -1;
if ( ((LA35_2 >= '\u0000' && LA35_2 <= '\t')||(LA35_2 >= '\u000B' && LA35_2 <= '\f')||(LA35_2 >= '\u000E' && LA35_2 <= '\uFFFF')) && (((!isLexerRule)||(isLexerRule)))) {s = 40;}
代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded
input.rewind();
s = -1;
if ( ((LA34_2 >= '\u0000' && LA34_2 <= '\t')||(LA34_2 >= '\u000B' && LA34_2 <= '\f')||(LA34_2 >= '\u000E' && LA34_2 <= '\uFFFF')) && (((!isLexerRule)||(isLexerRule)))) {s = 40;}
代码示例来源:origin: uk.co.nichesolutions/antlr4
input.rewind();
s = -1;
if ( ((LA34_2 >= '\u0000' && LA34_2 <= '\t')||(LA34_2 >= '\u000B' && LA34_2 <= '\f')||(LA34_2 >= '\u000E' && LA34_2 <= '\uFFFF')) && (((!isLexerRule)||(isLexerRule)))) {s = 40;}
代码示例来源:origin: com.facebook.presto.hive/hive-apache
input.rewind();
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.antlr-runtime
input.rewind(mark);
代码示例来源:origin: antlr/antlr3
input.rewind(mark);
代码示例来源:origin: antlr/antlr3
input.rewind(mark);
代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-analytics
input.rewind(mark);
代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-analytics
input.rewind();
s = -1;
if ( (synpred1_ActionTranslator()) ) {s = 3;}
input.rewind();
s = -1;
if ( (synpred18_ActionTranslator()) ) {s = 24;}
内容来源于网络,如有侵权,请联系作者删除!