deprecated/buildtools/buildsystemtools/lib/XML/XQL/Parser.pm
author lorewang
Wed, 01 Dec 2010 16:05:36 +0800
changeset 715 e0739b8406dd
parent 655 3f65fd25dfd4
permissions -rw-r--r--
Specify extenal tool with path
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
655
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     1
#########################################################################
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     2
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     3
#      This file was generated using Parse::Yapp version 0.16.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     4
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     5
#          Don't edit this file, use source file instead.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     6
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     7
#               ANY CHANGE MADE HERE WILL BE LOST !
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     8
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     9
#########################################################################
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    10
package XML::XQL::Parser;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    11
use vars qw ( @ISA );
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    12
use strict;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    13
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    14
@ISA= qw ( Parse::Yapp::Driver );
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    15
use Parse::Yapp::Driver;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    16
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    17
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    18
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    19
sub new {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    20
        my($class)=shift;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    21
        ref($class)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    22
    and $class=ref($class);
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    23
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    24
    my($self)=$class->SUPER::new( yyversion => '0.16',
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    25
                                  yystates =>
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    26
[
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    27
	{#State 0
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    28
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    29
			'NCName' => 25,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    30
			"(" => 28,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    31
			"any" => 14,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    32
			"all" => 20,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    33
			"*" => 29,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    34
			".." => 4,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    35
			'XQLName_Paren' => 22,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    36
			"." => 34,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    37
			"//" => 23,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    38
			"/" => 16,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    39
			"\@" => 11,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    40
			"not" => 17
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    41
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    42
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    43
			'WildQName' => 19,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    44
			'WildNCName' => 18,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    45
			'Filter' => 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    46
			'Union' => 21,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    47
			'RelativePath' => 2,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    48
			'LValue' => 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    49
			'Conjunction' => 5,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    50
			'Disjunction' => 6,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    51
			'ElementName' => 7,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    52
			'Grouping' => 8,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    53
			'PathOp' => 24,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    54
			'AbsolutePath' => 9,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    55
			'Path' => 10,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    56
			'RelativeTerm' => 12,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    57
			'AttributeName' => 13,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    58
			'Negation' => 26,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    59
			'Query' => 27,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    60
			'Intersection' => 15,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    61
			'Bang' => 30,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    62
			'Sequence' => 31,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    63
			'Invocation' => 32,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    64
			'Comparison' => 33,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    65
			'Subscript' => 35
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    66
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    67
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    68
	{#State 1
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    69
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    70
			"[" => 36
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    71
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    72
		DEFAULT => -51,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    73
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    74
			'Subscript_2' => 37
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    75
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    76
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    77
	{#State 2
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    78
		DEFAULT => -43
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    79
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    80
	{#State 3
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    81
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    82
			'MATCH' => 40,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    83
			'COMPARE' => 39
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    84
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    85
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    86
			'ComparisonOp' => 38
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    87
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    88
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    89
	{#State 4
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    90
		DEFAULT => -65
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    91
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    92
	{#State 5
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    93
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    94
			"or" => 41
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    95
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    96
		DEFAULT => -21
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    97
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    98
	{#State 6
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    99
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   100
			'SeqOp' => 42
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   101
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   102
		DEFAULT => -19
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   103
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   104
	{#State 7
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   105
		DEFAULT => -67
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   106
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   107
	{#State 8
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   108
		DEFAULT => -59
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   109
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   110
	{#State 9
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   111
		DEFAULT => -42
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   112
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   113
	{#State 10
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   114
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   115
			'COMPARE' => -37,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   116
			'MATCH' => -37
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   117
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   118
		DEFAULT => -33
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   119
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   120
	{#State 11
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   121
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   122
			"*" => 29,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   123
			'NCName' => 25
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   124
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   125
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   126
			'WildQName' => 43,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   127
			'WildNCName' => 18
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   128
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   129
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   130
	{#State 12
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   131
		DEFAULT => -62
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   132
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   133
	{#State 13
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   134
		DEFAULT => -68
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   135
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   136
	{#State 14
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   137
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   138
			'NCName' => 25,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   139
			"(" => 28,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   140
			"*" => 29,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   141
			".." => 4,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   142
			'XQLName_Paren' => 22,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   143
			"." => 34,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   144
			"//" => 23,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   145
			"/" => 16,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   146
			"\@" => 11
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   147
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   148
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   149
			'WildNCName' => 18,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   150
			'WildQName' => 19,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   151
			'RelativeTerm' => 12,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   152
			'AttributeName' => 13,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   153
			'Filter' => 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   154
			'Bang' => 30,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   155
			'RelativePath' => 2,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   156
			'LValue' => 44,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   157
			'Invocation' => 32,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   158
			'ElementName' => 7,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   159
			'Grouping' => 8,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   160
			'PathOp' => 24,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   161
			'AbsolutePath' => 9,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   162
			'Path' => 45,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   163
			'Subscript' => 35
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   164
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   165
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   166
	{#State 15
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   167
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   168
			'UnionOp' => 46
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   169
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   170
		DEFAULT => -27
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   171
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   172
	{#State 16
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   173
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   174
			".." => -17,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   175
			'XQLName_Paren' => -17,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   176
			"\@" => -17,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   177
			'NCName' => -17,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   178
			"(" => -17,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   179
			"*" => -17,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   180
			"." => -17
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   181
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   182
		DEFAULT => -44
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   183
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   184
	{#State 17
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   185
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   186
			'NCName' => 25,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   187
			"(" => 28,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   188
			"any" => 14,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   189
			"all" => 20,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   190
			"*" => 29,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   191
			".." => 4,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   192
			'XQLName_Paren' => 22,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   193
			"." => 34,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   194
			"//" => 23,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   195
			"/" => 16,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   196
			"\@" => 11,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   197
			"not" => 17
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   198
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   199
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   200
			'WildNCName' => 18,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   201
			'WildQName' => 19,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   202
			'Filter' => 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   203
			'Union' => 21,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   204
			'RelativePath' => 2,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   205
			'LValue' => 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   206
			'ElementName' => 7,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   207
			'Grouping' => 8,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   208
			'PathOp' => 24,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   209
			'AbsolutePath' => 9,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   210
			'Path' => 10,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   211
			'RelativeTerm' => 12,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   212
			'AttributeName' => 13,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   213
			'Negation' => 47,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   214
			'Intersection' => 15,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   215
			'Bang' => 30,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   216
			'Invocation' => 32,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   217
			'Comparison' => 33,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   218
			'Subscript' => 35
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   219
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   220
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   221
	{#State 18
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   222
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   223
			":" => 48
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   224
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   225
		DEFAULT => -4
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   226
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   227
	{#State 19
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   228
		DEFAULT => -10
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   229
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   230
	{#State 20
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   231
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   232
			'NCName' => 25,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   233
			"(" => 28,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   234
			"*" => 29,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   235
			".." => 4,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   236
			'XQLName_Paren' => 22,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   237
			"." => 34,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   238
			"//" => 23,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   239
			"/" => 16,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   240
			"\@" => 11
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   241
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   242
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   243
			'WildNCName' => 18,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   244
			'WildQName' => 19,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   245
			'RelativeTerm' => 12,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   246
			'AttributeName' => 13,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   247
			'Filter' => 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   248
			'Bang' => 30,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   249
			'RelativePath' => 2,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   250
			'LValue' => 49,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   251
			'Invocation' => 32,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   252
			'ElementName' => 7,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   253
			'Grouping' => 8,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   254
			'PathOp' => 24,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   255
			'AbsolutePath' => 9,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   256
			'Path' => 45,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   257
			'Subscript' => 35
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   258
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   259
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   260
	{#State 21
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   261
		DEFAULT => -25
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   262
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   263
	{#State 22
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   264
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   265
			'NCName' => 25,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   266
			'TEXT' => 50,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   267
			"(" => 28,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   268
			"any" => 14,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   269
			"all" => 20,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   270
			")" => 54,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   271
			"*" => 29,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   272
			'NUMBER' => 51,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   273
			".." => 4,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   274
			'XQLName_Paren' => 22,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   275
			"." => 34,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   276
			"//" => 23,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   277
			"/" => 16,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   278
			"\@" => 11,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   279
			'INTEGER' => 53,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   280
			"not" => 17
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   281
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   282
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   283
			'WildNCName' => 18,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   284
			'WildQName' => 19,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   285
			'Filter' => 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   286
			'Union' => 21,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   287
			'RelativePath' => 2,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   288
			'LValue' => 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   289
			'Conjunction' => 5,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   290
			'Disjunction' => 52,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   291
			'Invocation_2' => 55,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   292
			'ElementName' => 7,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   293
			'Grouping' => 8,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   294
			'PathOp' => 24,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   295
			'AbsolutePath' => 9,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   296
			'Path' => 10,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   297
			'Param' => 56,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   298
			'RelativeTerm' => 12,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   299
			'Negation' => 26,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   300
			'AttributeName' => 13,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   301
			'Intersection' => 15,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   302
			'Bang' => 30,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   303
			'Invocation' => 32,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   304
			'Comparison' => 33,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   305
			'Subscript' => 35
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   306
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   307
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   308
	{#State 23
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   309
		DEFAULT => -18
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   310
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   311
	{#State 24
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   312
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   313
			"*" => 29,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   314
			'NCName' => 25,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   315
			".." => 4,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   316
			'XQLName_Paren' => 22,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   317
			"." => 34,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   318
			"(" => 28,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   319
			"\@" => 11
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   320
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   321
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   322
			'WildNCName' => 18,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   323
			'WildQName' => 19,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   324
			'RelativeTerm' => 12,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   325
			'AttributeName' => 13,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   326
			'Filter' => 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   327
			'Bang' => 30,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   328
			'RelativePath' => 57,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   329
			'Invocation' => 32,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   330
			'ElementName' => 7,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   331
			'Grouping' => 8,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   332
			'Subscript' => 35
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   333
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   334
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   335
	{#State 25
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   336
		DEFAULT => -2
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   337
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   338
	{#State 26
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   339
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   340
			"and" => 58
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   341
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   342
		DEFAULT => -23
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   343
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   344
	{#State 27
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   345
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   346
			'' => 59
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   347
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   348
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   349
	{#State 28
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   350
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   351
			'NCName' => 25,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   352
			"(" => 28,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   353
			"any" => 14,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   354
			"all" => 20,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   355
			"*" => 29,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   356
			".." => 4,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   357
			'XQLName_Paren' => 22,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   358
			"." => 34,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   359
			"//" => 23,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   360
			"/" => 16,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   361
			"\@" => 11,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   362
			"not" => 17
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   363
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   364
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   365
			'WildNCName' => 18,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   366
			'WildQName' => 19,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   367
			'Filter' => 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   368
			'Union' => 21,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   369
			'RelativePath' => 2,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   370
			'LValue' => 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   371
			'Conjunction' => 5,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   372
			'Disjunction' => 6,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   373
			'ElementName' => 7,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   374
			'Grouping' => 8,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   375
			'PathOp' => 24,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   376
			'AbsolutePath' => 9,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   377
			'Path' => 10,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   378
			'RelativeTerm' => 12,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   379
			'AttributeName' => 13,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   380
			'Negation' => 26,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   381
			'Query' => 60,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   382
			'Intersection' => 15,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   383
			'Bang' => 30,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   384
			'Sequence' => 31,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   385
			'Invocation' => 32,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   386
			'Comparison' => 33,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   387
			'Subscript' => 35
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   388
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   389
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   390
	{#State 29
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   391
		DEFAULT => -3
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   392
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   393
	{#State 30
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   394
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   395
			"//" => 23,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   396
			"/" => 61
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   397
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   398
		DEFAULT => -46,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   399
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   400
			'PathOp' => 62
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   401
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   402
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   403
	{#State 31
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   404
		DEFAULT => -1
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   405
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   406
	{#State 32
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   407
		DEFAULT => -66
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   408
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   409
	{#State 33
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   410
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   411
			"intersect" => 63
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   412
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   413
		DEFAULT => -29
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   414
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   415
	{#State 34
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   416
		DEFAULT => -64
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   417
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   418
	{#State 35
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   419
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   420
			"!" => 64
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   421
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   422
		DEFAULT => -48
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   423
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   424
	{#State 36
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   425
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   426
			'NCName' => 25,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   427
			"(" => 28,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   428
			"any" => 14,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   429
			"all" => 20,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   430
			"*" => 29,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   431
			".." => 4,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   432
			'XQLName_Paren' => 22,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   433
			"." => 34,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   434
			"//" => 23,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   435
			"/" => 16,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   436
			'INTEGER' => 65,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   437
			"\@" => 11,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   438
			"not" => 17
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   439
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   440
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   441
			'Subquery' => 67,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   442
			'WildNCName' => 18,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   443
			'WildQName' => 19,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   444
			'Filter' => 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   445
			'Union' => 21,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   446
			'RelativePath' => 2,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   447
			'LValue' => 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   448
			'Conjunction' => 5,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   449
			'Disjunction' => 6,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   450
			'ElementName' => 7,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   451
			'Grouping' => 8,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   452
			'PathOp' => 24,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   453
			'AbsolutePath' => 9,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   454
			'Range' => 68,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   455
			'Path' => 10,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   456
			'IndexArg' => 69,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   457
			'RelativeTerm' => 12,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   458
			'IndexList' => 66,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   459
			'AttributeName' => 13,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   460
			'Negation' => 26,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   461
			'Query' => 70,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   462
			'Intersection' => 15,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   463
			'Bang' => 30,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   464
			'Sequence' => 31,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   465
			'Invocation' => 32,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   466
			'Comparison' => 33,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   467
			'Subscript' => 35
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   468
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   469
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   470
	{#State 37
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   471
		DEFAULT => -50
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   472
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   473
	{#State 38
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   474
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   475
			'NCName' => 25,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   476
			'TEXT' => 71,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   477
			"(" => 28,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   478
			"*" => 29,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   479
			'NUMBER' => 72,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   480
			".." => 4,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   481
			'XQLName_Paren' => 22,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   482
			"." => 34,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   483
			"//" => 23,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   484
			"/" => 16,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   485
			'INTEGER' => 74,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   486
			"\@" => 11
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   487
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   488
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   489
			'WildNCName' => 18,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   490
			'WildQName' => 19,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   491
			'RelativeTerm' => 12,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   492
			'AttributeName' => 13,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   493
			'Filter' => 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   494
			'Bang' => 30,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   495
			'RelativePath' => 2,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   496
			'Invocation' => 32,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   497
			'ElementName' => 7,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   498
			'Grouping' => 8,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   499
			'PathOp' => 24,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   500
			'AbsolutePath' => 9,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   501
			'Path' => 73,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   502
			'Subscript' => 35,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   503
			'RValue' => 75
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   504
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   505
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   506
	{#State 39
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   507
		DEFAULT => -31
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   508
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   509
	{#State 40
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   510
		DEFAULT => -32
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   511
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   512
	{#State 41
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   513
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   514
			'NCName' => 25,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   515
			"(" => 28,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   516
			"any" => 14,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   517
			"all" => 20,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   518
			"*" => 29,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   519
			".." => 4,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   520
			'XQLName_Paren' => 22,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   521
			"." => 34,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   522
			"//" => 23,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   523
			"/" => 16,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   524
			"\@" => 11,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   525
			"not" => 17
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   526
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   527
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   528
			'WildNCName' => 18,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   529
			'WildQName' => 19,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   530
			'Filter' => 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   531
			'Union' => 21,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   532
			'RelativePath' => 2,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   533
			'LValue' => 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   534
			'Conjunction' => 5,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   535
			'Disjunction' => 76,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   536
			'ElementName' => 7,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   537
			'Grouping' => 8,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   538
			'PathOp' => 24,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   539
			'AbsolutePath' => 9,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   540
			'Path' => 10,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   541
			'RelativeTerm' => 12,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   542
			'AttributeName' => 13,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   543
			'Negation' => 26,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   544
			'Intersection' => 15,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   545
			'Bang' => 30,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   546
			'Invocation' => 32,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   547
			'Comparison' => 33,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   548
			'Subscript' => 35
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   549
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   550
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   551
	{#State 42
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   552
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   553
			'NCName' => 25,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   554
			"(" => 28,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   555
			"any" => 14,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   556
			"all" => 20,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   557
			"*" => 29,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   558
			".." => 4,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   559
			'XQLName_Paren' => 22,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   560
			"." => 34,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   561
			"//" => 23,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   562
			"/" => 16,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   563
			"\@" => 11,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   564
			"not" => 17
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   565
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   566
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   567
			'WildNCName' => 18,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   568
			'WildQName' => 19,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   569
			'Filter' => 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   570
			'Union' => 21,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   571
			'RelativePath' => 2,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   572
			'LValue' => 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   573
			'Conjunction' => 5,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   574
			'Disjunction' => 6,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   575
			'ElementName' => 7,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   576
			'Grouping' => 8,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   577
			'PathOp' => 24,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   578
			'AbsolutePath' => 9,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   579
			'Path' => 10,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   580
			'RelativeTerm' => 12,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   581
			'AttributeName' => 13,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   582
			'Negation' => 26,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   583
			'Intersection' => 15,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   584
			'Bang' => 30,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   585
			'Sequence' => 77,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   586
			'Invocation' => 32,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   587
			'Comparison' => 33,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   588
			'Subscript' => 35
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   589
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   590
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   591
	{#State 43
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   592
		DEFAULT => -11
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   593
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   594
	{#State 44
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   595
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   596
			'MATCH' => 40,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   597
			'COMPARE' => 39
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   598
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   599
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   600
			'ComparisonOp' => 78
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   601
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   602
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   603
	{#State 45
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   604
		DEFAULT => -37
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   605
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   606
	{#State 46
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   607
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   608
			'NCName' => 25,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   609
			"(" => 28,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   610
			"any" => 14,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   611
			"all" => 20,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   612
			"*" => 29,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   613
			".." => 4,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   614
			'XQLName_Paren' => 22,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   615
			"." => 34,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   616
			"//" => 23,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   617
			"/" => 16,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   618
			"\@" => 11
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   619
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   620
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   621
			'WildNCName' => 18,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   622
			'WildQName' => 19,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   623
			'Filter' => 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   624
			'Union' => 79,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   625
			'RelativePath' => 2,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   626
			'LValue' => 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   627
			'ElementName' => 7,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   628
			'Grouping' => 8,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   629
			'PathOp' => 24,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   630
			'AbsolutePath' => 9,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   631
			'Path' => 10,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   632
			'RelativeTerm' => 12,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   633
			'AttributeName' => 13,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   634
			'Intersection' => 15,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   635
			'Bang' => 30,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   636
			'Invocation' => 32,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   637
			'Comparison' => 33,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   638
			'Subscript' => 35
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   639
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   640
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   641
	{#State 47
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   642
		DEFAULT => -26
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   643
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   644
	{#State 48
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   645
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   646
			"*" => 29,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   647
			'NCName' => 25
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   648
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   649
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   650
			'WildNCName' => 80
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   651
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   652
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   653
	{#State 49
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   654
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   655
			'MATCH' => 40,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   656
			'COMPARE' => 39
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   657
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   658
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   659
			'ComparisonOp' => 81
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   660
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   661
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   662
	{#State 50
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   663
		DEFAULT => -9
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   664
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   665
	{#State 51
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   666
		DEFAULT => -8
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   667
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   668
	{#State 52
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   669
		DEFAULT => -6
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   670
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   671
	{#State 53
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   672
		DEFAULT => -7
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   673
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   674
	{#State 54
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   675
		DEFAULT => -13
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   676
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   677
	{#State 55
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   678
		DEFAULT => -12
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   679
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   680
	{#State 56
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   681
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   682
			"," => 83
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   683
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   684
		DEFAULT => -15,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   685
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   686
			'Invocation_3' => 82
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   687
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   688
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   689
	{#State 57
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   690
		DEFAULT => -45
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   691
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   692
	{#State 58
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   693
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   694
			'NCName' => 25,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   695
			"(" => 28,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   696
			"any" => 14,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   697
			"all" => 20,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   698
			"*" => 29,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   699
			".." => 4,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   700
			'XQLName_Paren' => 22,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   701
			"." => 34,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   702
			"//" => 23,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   703
			"/" => 16,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   704
			"\@" => 11,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   705
			"not" => 17
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   706
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   707
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   708
			'WildNCName' => 18,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   709
			'WildQName' => 19,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   710
			'Filter' => 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   711
			'Union' => 21,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   712
			'RelativePath' => 2,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   713
			'LValue' => 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   714
			'Conjunction' => 84,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   715
			'ElementName' => 7,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   716
			'Grouping' => 8,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   717
			'PathOp' => 24,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   718
			'AbsolutePath' => 9,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   719
			'Path' => 10,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   720
			'RelativeTerm' => 12,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   721
			'AttributeName' => 13,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   722
			'Negation' => 26,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   723
			'Intersection' => 15,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   724
			'Bang' => 30,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   725
			'Invocation' => 32,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   726
			'Comparison' => 33,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   727
			'Subscript' => 35
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   728
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   729
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   730
	{#State 59
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   731
		DEFAULT => -0
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   732
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   733
	{#State 60
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   734
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   735
			")" => 85
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   736
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   737
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   738
	{#State 61
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   739
		DEFAULT => -17
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   740
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   741
	{#State 62
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   742
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   743
			"*" => 29,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   744
			'NCName' => 25,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   745
			".." => 4,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   746
			'XQLName_Paren' => 22,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   747
			"." => 34,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   748
			"(" => 28,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   749
			"\@" => 11
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   750
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   751
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   752
			'WildNCName' => 18,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   753
			'WildQName' => 19,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   754
			'RelativeTerm' => 12,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   755
			'AttributeName' => 13,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   756
			'Filter' => 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   757
			'Bang' => 30,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   758
			'RelativePath' => 86,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   759
			'Invocation' => 32,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   760
			'ElementName' => 7,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   761
			'Grouping' => 8,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   762
			'Subscript' => 35
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   763
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   764
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   765
	{#State 63
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   766
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   767
			'NCName' => 25,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   768
			"(" => 28,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   769
			"any" => 14,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   770
			"all" => 20,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   771
			"*" => 29,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   772
			".." => 4,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   773
			'XQLName_Paren' => 22,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   774
			"." => 34,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   775
			"//" => 23,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   776
			"/" => 16,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   777
			"\@" => 11
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   778
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   779
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   780
			'WildNCName' => 18,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   781
			'WildQName' => 19,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   782
			'Filter' => 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   783
			'RelativePath' => 2,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   784
			'LValue' => 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   785
			'ElementName' => 7,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   786
			'Grouping' => 8,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   787
			'PathOp' => 24,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   788
			'AbsolutePath' => 9,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   789
			'Path' => 10,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   790
			'RelativeTerm' => 12,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   791
			'AttributeName' => 13,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   792
			'Intersection' => 87,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   793
			'Bang' => 30,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   794
			'Invocation' => 32,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   795
			'Comparison' => 33,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   796
			'Subscript' => 35
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   797
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   798
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   799
	{#State 64
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   800
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   801
			'XQLName_Paren' => 22
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   802
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   803
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   804
			'Invocation' => 88
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   805
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   806
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   807
	{#State 65
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   808
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   809
			"to" => 89
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   810
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   811
		DEFAULT => -56
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   812
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   813
	{#State 66
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   814
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   815
			"]" => 90
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   816
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   817
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   818
	{#State 67
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   819
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   820
			"]" => 91
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   821
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   822
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   823
	{#State 68
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   824
		DEFAULT => -57
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   825
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   826
	{#State 69
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   827
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   828
			"," => 93
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   829
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   830
		DEFAULT => -54,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   831
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   832
			'IndexList_2' => 92
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   833
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   834
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   835
	{#State 70
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   836
		DEFAULT => -61
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   837
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   838
	{#State 71
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   839
		DEFAULT => -41
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   840
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   841
	{#State 72
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   842
		DEFAULT => -40
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   843
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   844
	{#State 73
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   845
		DEFAULT => -38
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   846
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   847
	{#State 74
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   848
		DEFAULT => -39
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   849
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   850
	{#State 75
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   851
		DEFAULT => -34
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   852
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   853
	{#State 76
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   854
		DEFAULT => -22
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   855
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   856
	{#State 77
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   857
		DEFAULT => -20
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   858
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   859
	{#State 78
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   860
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   861
			'NCName' => 25,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   862
			'TEXT' => 71,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   863
			"(" => 28,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   864
			"*" => 29,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   865
			'NUMBER' => 72,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   866
			".." => 4,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   867
			'XQLName_Paren' => 22,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   868
			"." => 34,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   869
			"//" => 23,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   870
			"/" => 16,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   871
			'INTEGER' => 74,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   872
			"\@" => 11
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   873
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   874
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   875
			'WildNCName' => 18,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   876
			'WildQName' => 19,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   877
			'RelativeTerm' => 12,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   878
			'AttributeName' => 13,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   879
			'Filter' => 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   880
			'Bang' => 30,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   881
			'RelativePath' => 2,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   882
			'Invocation' => 32,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   883
			'ElementName' => 7,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   884
			'Grouping' => 8,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   885
			'PathOp' => 24,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   886
			'AbsolutePath' => 9,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   887
			'Path' => 73,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   888
			'Subscript' => 35,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   889
			'RValue' => 94
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   890
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   891
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   892
	{#State 79
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   893
		DEFAULT => -28
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   894
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   895
	{#State 80
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   896
		DEFAULT => -5
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   897
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   898
	{#State 81
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   899
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   900
			'NCName' => 25,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   901
			'TEXT' => 71,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   902
			"(" => 28,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   903
			"*" => 29,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   904
			'NUMBER' => 72,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   905
			".." => 4,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   906
			'XQLName_Paren' => 22,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   907
			"." => 34,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   908
			"//" => 23,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   909
			"/" => 16,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   910
			'INTEGER' => 74,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   911
			"\@" => 11
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   912
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   913
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   914
			'WildNCName' => 18,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   915
			'WildQName' => 19,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   916
			'RelativeTerm' => 12,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   917
			'AttributeName' => 13,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   918
			'Filter' => 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   919
			'Bang' => 30,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   920
			'RelativePath' => 2,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   921
			'Invocation' => 32,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   922
			'ElementName' => 7,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   923
			'Grouping' => 8,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   924
			'PathOp' => 24,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   925
			'AbsolutePath' => 9,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   926
			'Path' => 73,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   927
			'Subscript' => 35,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   928
			'RValue' => 95
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   929
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   930
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   931
	{#State 82
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   932
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   933
			")" => 96
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   934
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   935
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   936
	{#State 83
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   937
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   938
			'NCName' => 25,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   939
			'TEXT' => 50,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   940
			"(" => 28,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   941
			"any" => 14,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   942
			"all" => 20,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   943
			"*" => 29,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   944
			'NUMBER' => 51,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   945
			".." => 4,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   946
			'XQLName_Paren' => 22,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   947
			"." => 34,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   948
			"//" => 23,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   949
			"/" => 16,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   950
			"\@" => 11,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   951
			'INTEGER' => 53,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   952
			"not" => 17
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   953
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   954
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   955
			'WildNCName' => 18,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   956
			'WildQName' => 19,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   957
			'Filter' => 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   958
			'Union' => 21,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   959
			'RelativePath' => 2,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   960
			'LValue' => 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   961
			'Conjunction' => 5,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   962
			'Disjunction' => 52,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   963
			'ElementName' => 7,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   964
			'Grouping' => 8,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   965
			'PathOp' => 24,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   966
			'AbsolutePath' => 9,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   967
			'Path' => 10,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   968
			'Param' => 97,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   969
			'RelativeTerm' => 12,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   970
			'Negation' => 26,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   971
			'AttributeName' => 13,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   972
			'Intersection' => 15,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   973
			'Bang' => 30,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   974
			'Invocation' => 32,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   975
			'Comparison' => 33,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   976
			'Subscript' => 35
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   977
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   978
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   979
	{#State 84
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   980
		DEFAULT => -24
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   981
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   982
	{#State 85
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   983
		DEFAULT => -63
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   984
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   985
	{#State 86
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   986
		DEFAULT => -47
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   987
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   988
	{#State 87
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   989
		DEFAULT => -30
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   990
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   991
	{#State 88
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   992
		DEFAULT => -49
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   993
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   994
	{#State 89
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   995
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   996
			'INTEGER' => 98
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   997
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   998
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   999
	{#State 90
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1000
		DEFAULT => -52
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1001
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1002
	{#State 91
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1003
		DEFAULT => -60
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1004
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1005
	{#State 92
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1006
		DEFAULT => -53
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1007
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1008
	{#State 93
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1009
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1010
			'INTEGER' => 65
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1011
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1012
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1013
			'IndexArg' => 99,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1014
			'Range' => 68
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1015
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1016
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1017
	{#State 94
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1018
		DEFAULT => -35
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1019
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1020
	{#State 95
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1021
		DEFAULT => -36
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1022
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1023
	{#State 96
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1024
		DEFAULT => -14
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1025
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1026
	{#State 97
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1027
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1028
			"," => 83
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1029
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1030
		DEFAULT => -15,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1031
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1032
			'Invocation_3' => 100
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1033
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1034
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1035
	{#State 98
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1036
		DEFAULT => -58
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1037
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1038
	{#State 99
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1039
		ACTIONS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1040
			"," => 93
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1041
		},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1042
		DEFAULT => -54,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1043
		GOTOS => {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1044
			'IndexList_2' => 101
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1045
		}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1046
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1047
	{#State 100
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1048
		DEFAULT => -16
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1049
	},
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1050
	{#State 101
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1051
		DEFAULT => -55
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1052
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1053
],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1054
                                  yyrules  =>
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1055
[
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1056
	[#Rule 0
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1057
		 '$start', 2, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1058
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1059
	[#Rule 1
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1060
		 'Query', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1061
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1062
	[#Rule 2
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1063
		 'WildNCName', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1064
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1065
	[#Rule 3
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1066
		 'WildNCName', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1067
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1068
	[#Rule 4
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1069
		 'WildQName', 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1070
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1071
 [ Name => $_[1] ]; 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1072
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1073
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1074
	[#Rule 5
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1075
		 'WildQName', 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1076
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1077
 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1078
			[ NameSpace => $_[1], Name => $_[2]]; 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1079
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1080
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1081
	[#Rule 6
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1082
		 'Param', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1083
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1084
	[#Rule 7
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1085
		 'Param', 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1086
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1087
 new XML::XQL::Number ($_[1]); 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1088
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1089
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1090
	[#Rule 8
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1091
		 'Param', 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1092
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1093
 new XML::XQL::Number ($_[1]); 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1094
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1095
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1096
	[#Rule 9
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1097
		 'Param', 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1098
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1099
 new XML::XQL::Text ($_[1]); 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1100
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1101
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1102
	[#Rule 10
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1103
		 'ElementName', 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1104
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1105
 new XML::XQL::Element (@{$_[1]}); 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1106
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1107
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1108
	[#Rule 11
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1109
		 'AttributeName', 2,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1110
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1111
 new XML::XQL::Attribute (@{$_[2]}); 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1112
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1113
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1114
	[#Rule 12
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1115
		 'Invocation', 2,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1116
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1117
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1118
			my ($func, $type) = $_[0]->{Query}->findFunctionOrMethod ($_[1], $_[2]);
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1119
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1120
			new XML::XQL::Invocation (Name => $_[1], 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1121
						  Args => $_[2],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1122
						  Func => $func,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1123
						  Type => $type); 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1124
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1125
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1126
	[#Rule 13
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1127
		 'Invocation_2', 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1128
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1129
 [] 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1130
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1131
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1132
	[#Rule 14
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1133
		 'Invocation_2', 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1134
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1135
 unshift @{$_[2]}, $_[1]; $_[2]; 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1136
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1137
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1138
	[#Rule 15
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1139
		 'Invocation_3', 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1140
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1141
 [] 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1142
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1143
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1144
	[#Rule 16
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1145
		 'Invocation_3', 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1146
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1147
 unshift @{$_[3]}, $_[2]; $_[3]; 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1148
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1149
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1150
	[#Rule 17
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1151
		 'PathOp', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1152
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1153
	[#Rule 18
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1154
		 'PathOp', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1155
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1156
	[#Rule 19
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1157
		 'Sequence', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1158
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1159
	[#Rule 20
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1160
		 'Sequence', 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1161
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1162
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1163
		    new XML::XQL::Sequence (Left => $_[1], Oper => $_[2], 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1164
					    Right => $_[3]); 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1165
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1166
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1167
	[#Rule 21
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1168
		 'Disjunction', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1169
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1170
	[#Rule 22
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1171
		 'Disjunction', 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1172
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1173
 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1174
		    new XML::XQL::Or (Left => $_[1], Right => $_[3]); 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1175
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1176
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1177
	[#Rule 23
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1178
		 'Conjunction', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1179
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1180
	[#Rule 24
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1181
		 'Conjunction', 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1182
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1183
 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1184
		    new XML::XQL::And (Left => $_[1], Right => $_[3]); 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1185
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1186
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1187
	[#Rule 25
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1188
		 'Negation', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1189
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1190
	[#Rule 26
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1191
		 'Negation', 2,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1192
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1193
 new XML::XQL::Not (Left => $_[2]); 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1194
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1195
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1196
	[#Rule 27
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1197
		 'Union', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1198
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1199
	[#Rule 28
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1200
		 'Union', 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1201
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1202
 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1203
		    new XML::XQL::Union (Left => $_[1], Right => $_[3]); 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1204
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1205
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1206
	[#Rule 29
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1207
		 'Intersection', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1208
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1209
	[#Rule 30
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1210
		 'Intersection', 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1211
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1212
 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1213
		    new XML::XQL::Intersect ($_[1], $_[3]); 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1214
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1215
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1216
	[#Rule 31
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1217
		 'ComparisonOp', 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1218
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1219
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1220
		  [ $_[1], $_[0]->{Query}->findComparisonOperator ($_[1]) ]; 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1221
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1222
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1223
	[#Rule 32
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1224
		 'ComparisonOp', 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1225
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1226
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1227
		  [ $_[1], $_[0]->{Query}->findComparisonOperator ($_[1]) ]; 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1228
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1229
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1230
	[#Rule 33
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1231
		 'Comparison', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1232
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1233
	[#Rule 34
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1234
		 'Comparison', 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1235
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1236
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1237
			new XML::XQL::Compare (All => 0, Left => $_[1], 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1238
				Oper => $_[2]->[0], Func => $_[2]->[1], 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1239
				Right => $_[3]); 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1240
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1241
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1242
	[#Rule 35
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1243
		 'Comparison', 4,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1244
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1245
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1246
			new XML::XQL::Compare (All => 0, Left => $_[2], 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1247
				Oper => $_[3]->[0], Func => $_[3]->[0],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1248
				Right => $_[4]); 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1249
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1250
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1251
	[#Rule 36
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1252
		 'Comparison', 4,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1253
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1254
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1255
			new XML::XQL::Compare (All => 1, Left => $_[2], 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1256
				Oper => $_[3]->[0], Func => $_[3]->[0],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1257
				Right => $_[4]); 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1258
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1259
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1260
	[#Rule 37
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1261
		 'LValue', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1262
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1263
	[#Rule 38
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1264
		 'RValue', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1265
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1266
	[#Rule 39
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1267
		 'RValue', 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1268
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1269
 new XML::XQL::Number ($_[1]); 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1270
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1271
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1272
	[#Rule 40
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1273
		 'RValue', 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1274
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1275
 new XML::XQL::Number ($_[1]); 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1276
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1277
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1278
	[#Rule 41
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1279
		 'RValue', 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1280
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1281
 new XML::XQL::Text ($_[1]); 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1282
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1283
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1284
	[#Rule 42
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1285
		 'Path', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1286
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1287
	[#Rule 43
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1288
		 'Path', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1289
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1290
	[#Rule 44
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1291
		 'AbsolutePath', 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1292
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1293
 new XML::Root; 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1294
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1295
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1296
	[#Rule 45
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1297
		 'AbsolutePath', 2,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1298
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1299
 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1300
		    new XML::XQL::Path (PathOp => $_[1], Right => $_[2]); 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1301
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1302
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1303
	[#Rule 46
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1304
		 'RelativePath', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1305
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1306
	[#Rule 47
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1307
		 'RelativePath', 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1308
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1309
 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1310
		    new XML::XQL::Path (Left => $_[1], PathOp => $_[2], 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1311
				        Right => $_[3]); 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1312
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1313
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1314
	[#Rule 48
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1315
		 'Bang', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1316
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1317
	[#Rule 49
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1318
		 'Bang', 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1319
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1320
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1321
		    XML::XQL::parseError ("only methods (not functions) can be used after the Bang (near '!" . $_[3]->{Name} . "'")
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1322
			unless $_[3]->isMethod;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1323
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1324
		    new XML::XQL::Bang (Left => $_[1], 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1325
				        Right => $_[3]); 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1326
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1327
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1328
	[#Rule 50
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1329
		 'Subscript', 2,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1330
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1331
 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1332
		    defined($_[2]) ? 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1333
			new XML::XQL::Subscript (Left => $_[1], 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1334
					    IndexList => $_[2]) : $_[1]; 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1335
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1336
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1337
	[#Rule 51
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1338
		 'Subscript_2', 0, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1339
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1340
	[#Rule 52
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1341
		 'Subscript_2', 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1342
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1343
 $_[2]; 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1344
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1345
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1346
	[#Rule 53
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1347
		 'IndexList', 2,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1348
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1349
 push (@{$_[1]}, @{$_[2]}); $_[1]; 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1350
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1351
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1352
	[#Rule 54
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1353
		 'IndexList_2', 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1354
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1355
 [] 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1356
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1357
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1358
	[#Rule 55
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1359
		 'IndexList_2', 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1360
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1361
 push (@{$_[2]}, @{$_[3]}); $_[2]; 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1362
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1363
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1364
	[#Rule 56
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1365
		 'IndexArg', 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1366
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1367
 [ $_[1], $_[1] ]; 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1368
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1369
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1370
	[#Rule 57
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1371
		 'IndexArg', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1372
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1373
	[#Rule 58
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1374
		 'Range', 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1375
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1376
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1377
		    # Syntactic Constraint 9:
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1378
		    # If both integers are positive or if both integers are 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1379
		    # negative, the first integer must be less than or
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1380
          	    # equal to the second integer. 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1381
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1382
		    XML::XQL::parseError (
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1383
			"$_[1] should be less than $_[3] in '$_[1] $_[2] $_[3]'")
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1384
				if ($_[1] > $_[3] && ($_[1] < 0) == ($_[3] < 0));
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1385
		    [ $_[1], $_[3] ]; 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1386
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1387
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1388
	[#Rule 59
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1389
		 'Filter', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1390
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1391
	[#Rule 60
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1392
		 'Filter', 4,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1393
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1394
 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1395
			new XML::XQL::Filter (Left => $_[1], Right => $_[3]); 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1396
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1397
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1398
	[#Rule 61
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1399
		 'Subquery', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1400
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1401
	[#Rule 62
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1402
		 'Grouping', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1403
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1404
	[#Rule 63
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1405
		 'Grouping', 3,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1406
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1407
 $_[2]; 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1408
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1409
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1410
	[#Rule 64
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1411
		 'RelativeTerm', 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1412
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1413
 new XML::XQL::Current; 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1414
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1415
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1416
	[#Rule 65
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1417
		 'RelativeTerm', 1,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1418
sub {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1419
 new XML::XQL::Parent; 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1420
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1421
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1422
	[#Rule 66
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1423
		 'RelativeTerm', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1424
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1425
	[#Rule 67
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1426
		 'RelativeTerm', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1427
	],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1428
	[#Rule 68
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1429
		 'RelativeTerm', 1, undef
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1430
	]
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1431
],
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1432
                                  @_);
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1433
    bless($self,$class);
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1434
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1435
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1436
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1437
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
  1438
1;