github.com/jingcheng-WU/gonum@v0.9.1-0.20210323123734-f1a2a11a8f7b/graph/formats/dot/internal/lexer/acttab.go (about)

     1  // Code generated by gocc; DO NOT EDIT.
     2  
     3  // This file is dual licensed under CC0 and The Gonum License.
     4  //
     5  // Copyright ©2017 The Gonum Authors. All rights reserved.
     6  // Use of this source code is governed by a BSD-style
     7  // license that can be found in the LICENSE file.
     8  //
     9  // Copyright ©2017 Robin Eklind.
    10  // This file is made available under a Creative Commons CC0 1.0
    11  // Universal Public Domain Dedication.
    12  
    13  package lexer
    14  
    15  import (
    16  	"fmt"
    17  
    18  	"github.com/jingcheng-WU/gonum/graph/formats/dot/internal/token"
    19  )
    20  
    21  type ActionTable [NumStates]ActionRow
    22  
    23  type ActionRow struct {
    24  	Accept token.Type
    25  	Ignore string
    26  }
    27  
    28  func (a ActionRow) String() string {
    29  	return fmt.Sprintf("Accept=%d, Ignore=%s", a.Accept, a.Ignore)
    30  }
    31  
    32  var ActTab = ActionTable{
    33  	ActionRow{ // S0
    34  		Accept: 0,
    35  		Ignore: "",
    36  	},
    37  	ActionRow{ // S1
    38  		Accept: -1,
    39  		Ignore: "!whitespace",
    40  	},
    41  	ActionRow{ // S2
    42  		Accept: 0,
    43  		Ignore: "",
    44  	},
    45  	ActionRow{ // S3
    46  		Accept: 0,
    47  		Ignore: "",
    48  	},
    49  	ActionRow{ // S4
    50  		Accept: 15,
    51  		Ignore: "",
    52  	},
    53  	ActionRow{ // S5
    54  		Accept: 0,
    55  		Ignore: "",
    56  	},
    57  	ActionRow{ // S6
    58  		Accept: 0,
    59  		Ignore: "",
    60  	},
    61  	ActionRow{ // S7
    62  		Accept: 0,
    63  		Ignore: "",
    64  	},
    65  	ActionRow{ // S8
    66  		Accept: 19,
    67  		Ignore: "",
    68  	},
    69  	ActionRow{ // S9
    70  		Accept: 18,
    71  		Ignore: "",
    72  	},
    73  	ActionRow{ // S10
    74  		Accept: 8,
    75  		Ignore: "",
    76  	},
    77  	ActionRow{ // S11
    78  		Accept: 0,
    79  		Ignore: "",
    80  	},
    81  	ActionRow{ // S12
    82  		Accept: 16,
    83  		Ignore: "",
    84  	},
    85  	ActionRow{ // S13
    86  		Accept: 19,
    87  		Ignore: "",
    88  	},
    89  	ActionRow{ // S14
    90  		Accept: 19,
    91  		Ignore: "",
    92  	},
    93  	ActionRow{ // S15
    94  		Accept: 19,
    95  		Ignore: "",
    96  	},
    97  	ActionRow{ // S16
    98  		Accept: 19,
    99  		Ignore: "",
   100  	},
   101  	ActionRow{ // S17
   102  		Accept: 19,
   103  		Ignore: "",
   104  	},
   105  	ActionRow{ // S18
   106  		Accept: 19,
   107  		Ignore: "",
   108  	},
   109  	ActionRow{ // S19
   110  		Accept: 13,
   111  		Ignore: "",
   112  	},
   113  	ActionRow{ // S20
   114  		Accept: 14,
   115  		Ignore: "",
   116  	},
   117  	ActionRow{ // S21
   118  		Accept: 19,
   119  		Ignore: "",
   120  	},
   121  	ActionRow{ // S22
   122  		Accept: 19,
   123  		Ignore: "",
   124  	},
   125  	ActionRow{ // S23
   126  		Accept: 19,
   127  		Ignore: "",
   128  	},
   129  	ActionRow{ // S24
   130  		Accept: 19,
   131  		Ignore: "",
   132  	},
   133  	ActionRow{ // S25
   134  		Accept: 19,
   135  		Ignore: "",
   136  	},
   137  	ActionRow{ // S26
   138  		Accept: 19,
   139  		Ignore: "",
   140  	},
   141  	ActionRow{ // S27
   142  		Accept: 2,
   143  		Ignore: "",
   144  	},
   145  	ActionRow{ // S28
   146  		Accept: 3,
   147  		Ignore: "",
   148  	},
   149  	ActionRow{ // S29
   150  		Accept: 19,
   151  		Ignore: "",
   152  	},
   153  	ActionRow{ // S30
   154  		Accept: 0,
   155  		Ignore: "",
   156  	},
   157  	ActionRow{ // S31
   158  		Accept: 19,
   159  		Ignore: "",
   160  	},
   161  	ActionRow{ // S32
   162  		Accept: 0,
   163  		Ignore: "",
   164  	},
   165  	ActionRow{ // S33
   166  		Accept: 0,
   167  		Ignore: "",
   168  	},
   169  	ActionRow{ // S34
   170  		Accept: -1,
   171  		Ignore: "!comment",
   172  	},
   173  	ActionRow{ // S35
   174  		Accept: 9,
   175  		Ignore: "",
   176  	},
   177  	ActionRow{ // S36
   178  		Accept: 10,
   179  		Ignore: "",
   180  	},
   181  	ActionRow{ // S37
   182  		Accept: 19,
   183  		Ignore: "",
   184  	},
   185  	ActionRow{ // S38
   186  		Accept: 0,
   187  		Ignore: "",
   188  	},
   189  	ActionRow{ // S39
   190  		Accept: 0,
   191  		Ignore: "",
   192  	},
   193  	ActionRow{ // S40
   194  		Accept: 19,
   195  		Ignore: "",
   196  	},
   197  	ActionRow{ // S41
   198  		Accept: 0,
   199  		Ignore: "",
   200  	},
   201  	ActionRow{ // S42
   202  		Accept: 0,
   203  		Ignore: "",
   204  	},
   205  	ActionRow{ // S43
   206  		Accept: 19,
   207  		Ignore: "",
   208  	},
   209  	ActionRow{ // S44
   210  		Accept: 0,
   211  		Ignore: "",
   212  	},
   213  	ActionRow{ // S45
   214  		Accept: 19,
   215  		Ignore: "",
   216  	},
   217  	ActionRow{ // S46
   218  		Accept: 19,
   219  		Ignore: "",
   220  	},
   221  	ActionRow{ // S47
   222  		Accept: 19,
   223  		Ignore: "",
   224  	},
   225  	ActionRow{ // S48
   226  		Accept: 19,
   227  		Ignore: "",
   228  	},
   229  	ActionRow{ // S49
   230  		Accept: 19,
   231  		Ignore: "",
   232  	},
   233  	ActionRow{ // S50
   234  		Accept: 19,
   235  		Ignore: "",
   236  	},
   237  	ActionRow{ // S51
   238  		Accept: 19,
   239  		Ignore: "",
   240  	},
   241  	ActionRow{ // S52
   242  		Accept: 19,
   243  		Ignore: "",
   244  	},
   245  	ActionRow{ // S53
   246  		Accept: 19,
   247  		Ignore: "",
   248  	},
   249  	ActionRow{ // S54
   250  		Accept: 19,
   251  		Ignore: "",
   252  	},
   253  	ActionRow{ // S55
   254  		Accept: 19,
   255  		Ignore: "",
   256  	},
   257  	ActionRow{ // S56
   258  		Accept: 19,
   259  		Ignore: "",
   260  	},
   261  	ActionRow{ // S57
   262  		Accept: 19,
   263  		Ignore: "",
   264  	},
   265  	ActionRow{ // S58
   266  		Accept: 19,
   267  		Ignore: "",
   268  	},
   269  	ActionRow{ // S59
   270  		Accept: 19,
   271  		Ignore: "",
   272  	},
   273  	ActionRow{ // S60
   274  		Accept: 19,
   275  		Ignore: "",
   276  	},
   277  	ActionRow{ // S61
   278  		Accept: 19,
   279  		Ignore: "",
   280  	},
   281  	ActionRow{ // S62
   282  		Accept: 19,
   283  		Ignore: "",
   284  	},
   285  	ActionRow{ // S63
   286  		Accept: 19,
   287  		Ignore: "",
   288  	},
   289  	ActionRow{ // S64
   290  		Accept: 0,
   291  		Ignore: "",
   292  	},
   293  	ActionRow{ // S65
   294  		Accept: 0,
   295  		Ignore: "",
   296  	},
   297  	ActionRow{ // S66
   298  		Accept: 0,
   299  		Ignore: "",
   300  	},
   301  	ActionRow{ // S67
   302  		Accept: 0,
   303  		Ignore: "",
   304  	},
   305  	ActionRow{ // S68
   306  		Accept: 19,
   307  		Ignore: "",
   308  	},
   309  	ActionRow{ // S69
   310  		Accept: 0,
   311  		Ignore: "",
   312  	},
   313  	ActionRow{ // S70
   314  		Accept: 0,
   315  		Ignore: "",
   316  	},
   317  	ActionRow{ // S71
   318  		Accept: 19,
   319  		Ignore: "",
   320  	},
   321  	ActionRow{ // S72
   322  		Accept: 19,
   323  		Ignore: "",
   324  	},
   325  	ActionRow{ // S73
   326  		Accept: 19,
   327  		Ignore: "",
   328  	},
   329  	ActionRow{ // S74
   330  		Accept: 19,
   331  		Ignore: "",
   332  	},
   333  	ActionRow{ // S75
   334  		Accept: 19,
   335  		Ignore: "",
   336  	},
   337  	ActionRow{ // S76
   338  		Accept: 19,
   339  		Ignore: "",
   340  	},
   341  	ActionRow{ // S77
   342  		Accept: 19,
   343  		Ignore: "",
   344  	},
   345  	ActionRow{ // S78
   346  		Accept: 19,
   347  		Ignore: "",
   348  	},
   349  	ActionRow{ // S79
   350  		Accept: 19,
   351  		Ignore: "",
   352  	},
   353  	ActionRow{ // S80
   354  		Accept: 19,
   355  		Ignore: "",
   356  	},
   357  	ActionRow{ // S81
   358  		Accept: 19,
   359  		Ignore: "",
   360  	},
   361  	ActionRow{ // S82
   362  		Accept: 19,
   363  		Ignore: "",
   364  	},
   365  	ActionRow{ // S83
   366  		Accept: 19,
   367  		Ignore: "",
   368  	},
   369  	ActionRow{ // S84
   370  		Accept: 19,
   371  		Ignore: "",
   372  	},
   373  	ActionRow{ // S85
   374  		Accept: 19,
   375  		Ignore: "",
   376  	},
   377  	ActionRow{ // S86
   378  		Accept: 19,
   379  		Ignore: "",
   380  	},
   381  	ActionRow{ // S87
   382  		Accept: 19,
   383  		Ignore: "",
   384  	},
   385  	ActionRow{ // S88
   386  		Accept: 19,
   387  		Ignore: "",
   388  	},
   389  	ActionRow{ // S89
   390  		Accept: 19,
   391  		Ignore: "",
   392  	},
   393  	ActionRow{ // S90
   394  		Accept: 19,
   395  		Ignore: "",
   396  	},
   397  	ActionRow{ // S91
   398  		Accept: -1,
   399  		Ignore: "!comment",
   400  	},
   401  	ActionRow{ // S92
   402  		Accept: 0,
   403  		Ignore: "",
   404  	},
   405  	ActionRow{ // S93
   406  		Accept: 19,
   407  		Ignore: "",
   408  	},
   409  	ActionRow{ // S94
   410  		Accept: 19,
   411  		Ignore: "",
   412  	},
   413  	ActionRow{ // S95
   414  		Accept: 19,
   415  		Ignore: "",
   416  	},
   417  	ActionRow{ // S96
   418  		Accept: 12,
   419  		Ignore: "",
   420  	},
   421  	ActionRow{ // S97
   422  		Accept: 19,
   423  		Ignore: "",
   424  	},
   425  	ActionRow{ // S98
   426  		Accept: 19,
   427  		Ignore: "",
   428  	},
   429  	ActionRow{ // S99
   430  		Accept: 11,
   431  		Ignore: "",
   432  	},
   433  	ActionRow{ // S100
   434  		Accept: 19,
   435  		Ignore: "",
   436  	},
   437  	ActionRow{ // S101
   438  		Accept: 19,
   439  		Ignore: "",
   440  	},
   441  	ActionRow{ // S102
   442  		Accept: 19,
   443  		Ignore: "",
   444  	},
   445  	ActionRow{ // S103
   446  		Accept: 19,
   447  		Ignore: "",
   448  	},
   449  	ActionRow{ // S104
   450  		Accept: 19,
   451  		Ignore: "",
   452  	},
   453  	ActionRow{ // S105
   454  		Accept: 19,
   455  		Ignore: "",
   456  	},
   457  	ActionRow{ // S106
   458  		Accept: 19,
   459  		Ignore: "",
   460  	},
   461  	ActionRow{ // S107
   462  		Accept: 19,
   463  		Ignore: "",
   464  	},
   465  	ActionRow{ // S108
   466  		Accept: 19,
   467  		Ignore: "",
   468  	},
   469  	ActionRow{ // S109
   470  		Accept: 19,
   471  		Ignore: "",
   472  	},
   473  	ActionRow{ // S110
   474  		Accept: 19,
   475  		Ignore: "",
   476  	},
   477  	ActionRow{ // S111
   478  		Accept: 19,
   479  		Ignore: "",
   480  	},
   481  	ActionRow{ // S112
   482  		Accept: 19,
   483  		Ignore: "",
   484  	},
   485  	ActionRow{ // S113
   486  		Accept: 19,
   487  		Ignore: "",
   488  	},
   489  	ActionRow{ // S114
   490  		Accept: 6,
   491  		Ignore: "",
   492  	},
   493  	ActionRow{ // S115
   494  		Accept: 19,
   495  		Ignore: "",
   496  	},
   497  	ActionRow{ // S116
   498  		Accept: 19,
   499  		Ignore: "",
   500  	},
   501  	ActionRow{ // S117
   502  		Accept: 19,
   503  		Ignore: "",
   504  	},
   505  	ActionRow{ // S118
   506  		Accept: 19,
   507  		Ignore: "",
   508  	},
   509  	ActionRow{ // S119
   510  		Accept: 19,
   511  		Ignore: "",
   512  	},
   513  	ActionRow{ // S120
   514  		Accept: 19,
   515  		Ignore: "",
   516  	},
   517  	ActionRow{ // S121
   518  		Accept: 19,
   519  		Ignore: "",
   520  	},
   521  	ActionRow{ // S122
   522  		Accept: 19,
   523  		Ignore: "",
   524  	},
   525  	ActionRow{ // S123
   526  		Accept: 19,
   527  		Ignore: "",
   528  	},
   529  	ActionRow{ // S124
   530  		Accept: 19,
   531  		Ignore: "",
   532  	},
   533  	ActionRow{ // S125
   534  		Accept: 19,
   535  		Ignore: "",
   536  	},
   537  	ActionRow{ // S126
   538  		Accept: 19,
   539  		Ignore: "",
   540  	},
   541  	ActionRow{ // S127
   542  		Accept: 19,
   543  		Ignore: "",
   544  	},
   545  	ActionRow{ // S128
   546  		Accept: 5,
   547  		Ignore: "",
   548  	},
   549  	ActionRow{ // S129
   550  		Accept: 19,
   551  		Ignore: "",
   552  	},
   553  	ActionRow{ // S130
   554  		Accept: 19,
   555  		Ignore: "",
   556  	},
   557  	ActionRow{ // S131
   558  		Accept: 19,
   559  		Ignore: "",
   560  	},
   561  	ActionRow{ // S132
   562  		Accept: 19,
   563  		Ignore: "",
   564  	},
   565  	ActionRow{ // S133
   566  		Accept: 19,
   567  		Ignore: "",
   568  	},
   569  	ActionRow{ // S134
   570  		Accept: 19,
   571  		Ignore: "",
   572  	},
   573  	ActionRow{ // S135
   574  		Accept: 19,
   575  		Ignore: "",
   576  	},
   577  	ActionRow{ // S136
   578  		Accept: 7,
   579  		Ignore: "",
   580  	},
   581  	ActionRow{ // S137
   582  		Accept: 19,
   583  		Ignore: "",
   584  	},
   585  	ActionRow{ // S138
   586  		Accept: 19,
   587  		Ignore: "",
   588  	},
   589  	ActionRow{ // S139
   590  		Accept: 19,
   591  		Ignore: "",
   592  	},
   593  	ActionRow{ // S140
   594  		Accept: 19,
   595  		Ignore: "",
   596  	},
   597  	ActionRow{ // S141
   598  		Accept: 19,
   599  		Ignore: "",
   600  	},
   601  	ActionRow{ // S142
   602  		Accept: 17,
   603  		Ignore: "",
   604  	},
   605  }