Class: Schema::CodeGeneratorRequest
- Inherits:
-
Capnp::Struct
- Object
- Capnp::Struct
- Schema::CodeGeneratorRequest
- Defined in:
- lib/capnp/generator/schema.capnp.rb
Defined Under Namespace
Classes: List, RequestedFile
Instance Method Summary collapse
- #capnp_version ⇒ Object
- #nodes ⇒ Object
- #requested_files ⇒ Object
- #source_info ⇒ Object
- #to_obj ⇒ Object
Methods inherited from Capnp::Struct
decode_pointer, from_pointer, #initialize
Constructor Details
This class inherits a constructor from Capnp::Struct
Instance Method Details
#capnp_version ⇒ Object
1257 |
# File 'lib/capnp/generator/schema.capnp.rb', line 1257 def capnp_version = Schema::CapnpVersion.from_pointer(read_pointer(2)) |
#nodes ⇒ Object
1259 |
# File 'lib/capnp/generator/schema.capnp.rb', line 1259 def nodes = Schema::Node::List.from_pointer(read_pointer(0)) |
#requested_files ⇒ Object
1263 |
# File 'lib/capnp/generator/schema.capnp.rb', line 1263 def requested_files = Schema::CodeGeneratorRequest::RequestedFile::List.from_pointer(read_pointer(1)) |
#source_info ⇒ Object
1261 |
# File 'lib/capnp/generator/schema.capnp.rb', line 1261 def source_info = Schema::Node::SourceInfo::List.from_pointer(read_pointer(3)) |
#to_obj ⇒ Object
1318 1319 1320 1321 1322 1323 1324 1325 |
# File 'lib/capnp/generator/schema.capnp.rb', line 1318 def to_obj res = {} res["capnp_version"] = capnp_version&.to_obj res["nodes"] = nodes&.to_obj res["source_info"] = source_info&.to_obj res["requested_files"] = requested_files&.to_obj res end |