本文整理汇总了C#中JJCalls类的典型用法代码示例。如果您正苦于以下问题:C# JJCalls类的具体用法?C# JJCalls怎么用?C# JJCalls使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
JJCalls类属于命名空间,在下文中一共展示了JJCalls类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: InitBlock
private void InitBlock()
{
fuzzyMinSim = FuzzyQuery.defaultMinSimilarity;
fuzzyPrefixLength = FuzzyQuery.defaultPrefixLength;
jj_2_rtns = new JJCalls[1];
jj_ls = new LookaheadSuccess();
}
开发者ID:ArsenShnurkov,项目名称:beagle-1,代码行数:7,代码来源:QueryParser.cs
示例2: InitBlock
private void InitBlock() {
jjtree = new JJTParserState();
directives = new System.Collections.Hashtable(0);
jj_la1 = new int[53];
jj_2_rtns = new JJCalls[12];
jj_expentries = new System.Collections.ArrayList();
jj_lasttokens = new int[100];
}
开发者ID:BackupTheBerlios,项目名称:ch3etah-svn,代码行数:8,代码来源:Parser.cs
示例3: SelectorParser
//UPGRADE_ISSUE: Class hierarchy differences between 'java.io.Reader' and 'System.IO.StreamReader' may cause compilation errors. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1186_3"'
public SelectorParser(System.IO.StreamReader stream)
{
InitBlock();
jj_input_stream = new SimpleCharStream(stream, 1, 1);
token_source = new SelectorParserTokenManager(jj_input_stream);
token = new Token();
jj_ntk_Renamed_Field = - 1;
jj_gen = 0;
for (int i = 0; i < 0; i++)
jj_la1[i] = - 1;
for (int i = 0; i < jj_2_rtns.Length; i++)
jj_2_rtns[i] = new JJCalls();
}
开发者ID:jamsel,项目名称:jamsel,代码行数:14,代码来源:SelectorParser.cs
示例4: miniParser
/** Constructor. */
public miniParser(java.io.Reader stream)
{
if (jj_initialized_once)
{
// System.out.println("ERROR: Second call to constructor of static parser. ");
// System.out.println(" You must either use ReInit() or set the JavaCC option STATIC to false");
// System.out.println(" during parser generation.");
// throw new Error();
}
jj_initialized_once = true;
jj_input_stream = new SimpleCharStream(stream, 1, 1);
token_source = new miniParserTokenManager(jj_input_stream);
token = new PsrToken();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 45; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
开发者ID:robin5,项目名称:DemiTasse,代码行数:19,代码来源:miniParser.cs
示例5: ReInit
public virtual void ReInit(System.IO.StreamReader stream)
{
jj_input_stream.ReInit(stream, 1, 1);
token_source.ReInit(jj_input_stream);
token = new Token();
jj_ntk_Renamed_Field = - 1;
jj_gen = 0;
for (int i = 0; i < 14; i++)
jj_la1[i] = - 1;
for (int i = 0; i < jj_2_rtns.Length; i++)
jj_2_rtns[i] = new JJCalls();
}
开发者ID:runefs,项目名称:Marvin,代码行数:12,代码来源:HTMLParser.cs
示例6: HTMLParser
public HTMLParser(HTMLParserTokenManager tm)
{
InitBlock();
token_source = tm;
token = new Token();
jj_ntk = - 1;
jj_gen = 0;
for (int i = 0; i < 14; i++)
jj_la1[i] = - 1;
for (int i = 0; i < jj_2_rtns.Length; i++)
jj_2_rtns[i] = new JJCalls();
}
开发者ID:vikasraz,项目名称:indexsearchutils,代码行数:12,代码来源:HTMLParser.cs
示例7: ReInit
public virtual void ReInit(CharStream stream)
{
token_source.ReInit(stream);
token = new Token();
jj_ntk = - 1;
jj_gen = 0;
for (int i = 0; i < 22; i++)
jj_la1[i] = - 1;
for (int i = 0; i < jj_2_rtns.Length; i++)
jj_2_rtns[i] = new JJCalls();
}
开发者ID:ArsenShnurkov,项目名称:beagle-1,代码行数:11,代码来源:QueryParser.cs
示例8: QueryParser
/// <summary>Constructor with generated Token Manager. </summary>
protected internal QueryParser(QueryParserTokenManager tm)
{
InitBlock();
token_source = tm;
token = new Token();
jj_ntk = - 1;
jj_gen = 0;
for (int i = 0; i < 23; i++)
jj_la1[i] = - 1;
for (int i = 0; i < jj_2_rtns.Length; i++)
jj_2_rtns[i] = new JJCalls();
}
开发者ID:VirtueMe,项目名称:ravendb,代码行数:13,代码来源:QueryParser.cs
示例9: QueryParser
/// <summary>Constructor with user supplied CharStream. </summary>
protected internal QueryParser(ICharStream stream)
{
token_source = new QueryParserTokenManager(stream);
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 21; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.Length; i++) jj_2_rtns[i] = new JJCalls();
}
开发者ID:ChristopherHaws,项目名称:lucenenet,代码行数:10,代码来源:QueryParser.cs
示例10: InitBlock
private void InitBlock()
{
fuzzyMinSim = Monodoc.Lucene.Net.Search.FuzzyQuery.defaultMinSimilarity;
jj_2_rtns = new JJCalls[1];
jj_ls = new LookaheadSuccess();
}
开发者ID:ngraziano,项目名称:mono,代码行数:6,代码来源:QueryParser.cs
示例11: ReInit
/// <summary>Reinitialize.</summary>
public void ReInit(StandardSyntaxParserTokenManager tm)
{
token_source = tm;
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 28; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.Length; i++) jj_2_rtns[i] = new JJCalls();
}
开发者ID:apache,项目名称:lucenenet,代码行数:10,代码来源:StandardSyntaxParser.cs
示例12: StandardSyntaxParser
/// <summary>
/// Constructor with user supplied <see cref="ICharStream"/>.
/// </summary>
public StandardSyntaxParser(ICharStream stream)
{
token_source = new StandardSyntaxParserTokenManager(stream);
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 28; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.Length; i++) jj_2_rtns[i] = new JJCalls();
}
开发者ID:apache,项目名称:lucenenet,代码行数:12,代码来源:StandardSyntaxParser.cs
示例13: ReInit
/** Reinitialise. */
public void ReInit(miniParserTokenManager tm)
{
token_source = tm;
token = new PsrToken();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 45; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
开发者ID:robin5,项目名称:DemiTasse,代码行数:10,代码来源:miniParser.cs
示例14: HTMLParser
public HTMLParser(System.IO.Stream stream, System.String encoding)
{
InitBlock();
try
{
jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1);
}
catch (System.IO.IOException e)
{
throw new System.Exception(e.Message, e);
}
token_source = new HTMLParserTokenManager(jj_input_stream);
token = new Token();
jj_ntk = - 1;
jj_gen = 0;
for (int i = 0; i < 14; i++)
jj_la1[i] = - 1;
for (int i = 0; i < jj_2_rtns.Length; i++)
jj_2_rtns[i] = new JJCalls();
}
开发者ID:synhershko,项目名称:lucene.net,代码行数:20,代码来源:HTMLParser.cs
示例15: ReInit
public virtual void ReInit(System.IO.Stream stream, System.String encoding)
{
try
{
jj_input_stream.ReInit(stream, encoding, 1, 1);
}
catch (System.IO.IOException e)
{
throw new System.Exception(e.Message, e);
}
token_source.ReInit(jj_input_stream);
token = new Token();
jj_ntk = - 1;
jj_gen = 0;
for (int i = 0; i < 14; i++)
jj_la1[i] = - 1;
for (int i = 0; i < jj_2_rtns.Length; i++)
jj_2_rtns[i] = new JJCalls();
}
开发者ID:synhershko,项目名称:lucene.net,代码行数:19,代码来源:HTMLParser.cs
示例16: IDLParser
public IDLParser(System.IO.StreamReader stream) {
jj_input_stream = new SimpleCharStream(stream, 1, 1);
token_source = new IDLParserTokenManager(jj_input_stream);
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 88; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.Length; i++) jj_2_rtns[i] = new JJCalls();
}
开发者ID:JnS-Software-LLC,项目名称:iiop-net,代码行数:9,代码来源:IDLParser.cs
示例17: InitBlock
private void InitBlock()
{
multiTermRewriteMethod = MultiTermQuery.CONSTANT_SCORE_AUTO_REWRITE_DEFAULT;
fuzzyMinSim = FuzzyQuery.defaultMinSimilarity;
fuzzyPrefixLength = FuzzyQuery.defaultPrefixLength;
jj_2_rtns = new JJCalls[1];
jj_ls = new LookaheadSuccess();
}
开发者ID:VirtueMe,项目名称:ravendb,代码行数:8,代码来源:QueryParser.cs
示例18: ReInit
public void ReInit(System.IO.StreamReader stream) {
jj_input_stream.ReInit(stream, 1, 1);
token_source.ReInit(jj_input_stream);
token = new Token();
jj_ntk = -1;
jjtree.reset();
jj_gen = 0;
for (int i = 0; i < 88; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.Length; i++) jj_2_rtns[i] = new JJCalls();
}
开发者ID:JnS-Software-LLC,项目名称:iiop-net,代码行数:10,代码来源:IDLParser.cs
示例19: QueryParser
public QueryParser(CharStream stream)
{
InitBlock();
token_source = new QueryParserTokenManager(stream);
token = new Token();
jj_ntk = - 1;
jj_gen = 0;
for (int i = 0; i < 22; i++)
jj_la1[i] = - 1;
for (int i = 0; i < jj_2_rtns.Length; i++)
jj_2_rtns[i] = new JJCalls();
}
开发者ID:ArsenShnurkov,项目名称:beagle-1,代码行数:12,代码来源:QueryParser.cs
示例20: ReInit
public virtual void ReInit(CharStream stream) {
token_source.ReInit(stream);
token = new Token();
jj_ntk_Renamed_Field = - 1;
jjtree.reset();
jj_gen = 0;
for (int i = 0; i < 53; i++)
jj_la1[i] = - 1;
for (int i = 0; i < jj_2_rtns.Length; i++)
jj_2_rtns[i] = new JJCalls();
}
开发者ID:BackupTheBerlios,项目名称:ch3etah-svn,代码行数:11,代码来源:Parser.cs
注:本文中的JJCalls类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论