We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d159b40 commit 16c2379Copy full SHA for 16c2379
1 file changed
rust/ruby-rbs/build.rs
@@ -125,6 +125,19 @@ fn generate(config: &Config) -> Result<(), Box<dyn Error>> {
125
)?;
126
writeln!(file, " }}")?;
127
}
128
+ "rbs_ast_declarations_class_super" => {
129
+ writeln!(
130
+ file,
131
+ " pub fn {}(&self) -> ClassSuperNode {{",
132
+ field.name
133
+ )?;
134
135
136
+ " ClassSuperNode {{ parser: self.parser, pointer: unsafe {{ (*self.pointer).{} }} }}",
137
138
139
+ writeln!(file, " }}")?;
140
+ }
141
"rbs_ast_symbol" => {
142
writeln!(file, " pub fn {}(&self) -> RBSSymbol {{", field.name)?;
143
writeln!(
0 commit comments