...

Text file src/github.com/google/flatbuffers/tests/keyword_test.fbs

Documentation: github.com/google/flatbuffers/tests

     1namespace KeywordTest;
     2
     3enum ABC: int { void, where, stackalloc }
     4
     5enum public: int { }
     6
     7table KeywordsInTable {
     8  is: ABC = void;
     9  private: public;
    10  type: int;
    11  default: bool = false;
    12}
    13
    14union KeywordsInUnion {
    15  static: KeywordsInTable,
    16  internal: KeywordsInTable,
    17}
    18
    19table Table2 {
    20  type: KeywordsInUnion;
    21}

View as plain text