本文整理汇总了C#中JJCalls类的典型用法代码示例。如果您正苦于以下问题:C# JJCalls类的具体用法?C# JJCalls怎么用?C# JJCalls使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
JJCalls类属于命名空间,在下文中一共展示了JJCalls类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: InitBlock
private void InitBlock()
{
fuzzyMinSim = FuzzyQuery.defaultMinSimilarity;
fuzzyPrefixLength = FuzzyQuery.defaultPrefixLength;
jj_2_rtns = new JJCalls[1];
jj_ls = new LookaheadSuccess();
}
示例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];
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例10: InitBlock
private void InitBlock()
{
fuzzyMinSim = Monodoc.Lucene.Net.Search.FuzzyQuery.defaultMinSimilarity;
jj_2_rtns = new JJCalls[1];
jj_ls = new LookaheadSuccess();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}