Sha256: 725fe889b5a406112df09f80f94d5a2efcf7a0f9377104c26186cd70811b3671

Contents?: true

Size: 530 Bytes

Versions: 3

Compression:

Stored size: 530 Bytes

Contents

grammar XdrMainGrammar
  include XdrBaseGrammar
  include XdrDeclarationGrammar
  include XdrCommentsGrammar
  include XdrEnumGrammar
  include XdrTypedefGrammar
  include XdrStructGrammar
  include XdrUnionGrammar
  include XdrConstGrammar
  include XdrNamespaceGrammar

  rule top
    children_n:definition*
    <Xdrgen::AST::Top>
  end

  rule definition
    (
      typedef_def /
      enum_def /
      struct_def /
      union_def /
      const_def / 
      namespace_def /
      ampersand_line /
      space
    )
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
xdrgen-0.1.1 lib/xdrgen/grammar/main.treetop
xdrgen-0.1.0 lib/xdrgen/grammar/main.treetop
xdrgen-0.0.1 lib/xdrgen/grammar/main.treetop