~ubuntu-branches/ubuntu/lucid/beagle/lucid

« back to all changes in this revision

Viewing changes to beagled/Lucene.Net/QueryParser/QueryParserConstants.cs

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Ebner
  • Date: 2008-05-04 00:31:32 UTC
  • mfrom: (1.1.21 upstream)
  • Revision ID: james.westby@ubuntu.com-20080504003132-2tkm5o8moo5952ri
Tags: 0.3.7-2ubuntu1
 * Merge from Debian unstable. (LP: #225746) Remaining Ubuntu changes:
  - debian/control:
    + Rename ice{weasel,dove}-beagle to {mozilla,thunderbird}-beagle and
      and update the dependencies accordingly.
    + Change Maintainer to Ubuntu Mono Team.
  - debian/rules:
    + Install the mozilla-beagle and thunderbird-beagle extensions.
  - ice{dove,weasel}.dirs:
    + Renamed to {mozilla,thunderbird}-beagle.dirs.
    + Fixed paths to point to usr/lib/{firefox,thunderbird}

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright 2004 The Apache Software Foundation
3
 
 * 
4
 
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 
 * you may not use this file except in compliance with the License.
6
 
 * You may obtain a copy of the License at
 
2
 * Licensed to the Apache Software Foundation (ASF) under one or more
 
3
 * contributor license agreements.  See the NOTICE file distributed with
 
4
 * this work for additional information regarding copyright ownership.
 
5
 * The ASF licenses this file to You under the Apache License, Version 2.0
 
6
 * (the "License"); you may not use this file except in compliance with
 
7
 * the License.  You may obtain a copy of the License at
7
8
 * 
8
9
 * http://www.apache.org/licenses/LICENSE-2.0
9
10
 * 
22
23
{
23
24
        
24
25
        public class QueryParserConstants
25
 
    {
 
26
        {
26
27
                public const int EOF = 0;
27
28
                public const int _NUM_CHAR = 1;
28
29
                public const int _ESCAPED_CHAR = 2;
37
38
                public const int LPAREN = 12;
38
39
                public const int RPAREN = 13;
39
40
                public const int COLON = 14;
40
 
                public const int CARAT = 15;
41
 
                public const int QUOTED = 16;
42
 
                public const int TERM = 17;
43
 
                public const int FUZZY_SLOP = 18;
44
 
                public const int PREFIXTERM = 19;
45
 
                public const int WILDTERM = 20;
46
 
                public const int RANGEIN_START = 21;
47
 
                public const int RANGEEX_START = 22;
48
 
                public const int NUMBER = 23;
49
 
                public const int RANGEIN_TO = 24;
50
 
                public const int RANGEIN_END = 25;
51
 
                public const int RANGEIN_QUOTED = 26;
52
 
                public const int RANGEIN_GOOP = 27;
53
 
                public const int RANGEEX_TO = 28;
54
 
                public const int RANGEEX_END = 29;
55
 
                public const int RANGEEX_QUOTED = 30;
56
 
                public const int RANGEEX_GOOP = 31;
 
41
                public const int STAR = 15;
 
42
                public const int CARAT = 16;
 
43
                public const int QUOTED = 17;
 
44
                public const int TERM = 18;
 
45
                public const int FUZZY_SLOP = 19;
 
46
                public const int PREFIXTERM = 20;
 
47
                public const int WILDTERM = 21;
 
48
                public const int RANGEIN_START = 22;
 
49
                public const int RANGEEX_START = 23;
 
50
                public const int NUMBER = 24;
 
51
                public const int RANGEIN_TO = 25;
 
52
                public const int RANGEIN_END = 26;
 
53
                public const int RANGEIN_QUOTED = 27;
 
54
                public const int RANGEIN_GOOP = 28;
 
55
                public const int RANGEEX_TO = 29;
 
56
                public const int RANGEEX_END = 30;
 
57
                public const int RANGEEX_QUOTED = 31;
 
58
                public const int RANGEEX_GOOP = 32;
57
59
                public const int Boost = 0;
58
60
                public const int RangeEx = 1;
59
61
                public const int RangeIn = 2;
60
62
                public const int DEFAULT = 3;
61
 
                public static System.String[] tokenImage = new System.String[]{"<EOF>", "<_NUM_CHAR>", "<_ESCAPED_CHAR>", "<_TERM_START_CHAR>", "<_TERM_CHAR>", "<_WHITESPACE>", "<token of kind 6>", "<AND>", "<OR>", "<NOT>", "\"+\"", "\"-\"", "\"(\"", "\")\"", "\":\"", "\"^\"", "<QUOTED>", "<TERM>", "<FUZZY_SLOP>", "<PREFIXTERM>", "<WILDTERM>", "\"[\"", "\"{\"", "<NUMBER>", "\"TO\"", "\"]\"", "<RANGEIN_QUOTED>", "<RANGEIN_GOOP>", "\"TO\"", "\"}\"", "<RANGEEX_QUOTED>", "<RANGEEX_GOOP>"};
 
63
                public static System.String[] tokenImage = new System.String[]{"<EOF>", "<_NUM_CHAR>", "<_ESCAPED_CHAR>", "<_TERM_START_CHAR>", "<_TERM_CHAR>", "<_WHITESPACE>", "<token of kind 6>", "<AND>", "<OR>", "<NOT>", "\"+\"", "\"-\"", "\"(\"", "\")\"", "\":\"", "\"*\"", "\"^\"", "<QUOTED>", "<TERM>", "<FUZZY_SLOP>", "<PREFIXTERM>", "<WILDTERM>", "\"[\"", "\"{\"", "<NUMBER>", "\"TO\"", "\"]\"", "<RANGEIN_QUOTED>", "<RANGEIN_GOOP>", "\"TO\"", "\"}\"", "<RANGEEX_QUOTED>", "<RANGEEX_GOOP>"};
62
64
        }
63
65
}
 
 
b'\\ No newline at end of file'