protected Xlat ( SuiteStatement suite ) : void | ||
suite | SuiteStatement | |
return | void |
private void GeneratePropertyGetter(Decorated getter) { var def = (FunctionDef)getter.Statement; var mgen = new MethodGenerator(def, null, def.parameters, false, gen); var comments = ConvertFirstStringToComments(def.body.stmts); gen.CurrentMemberComments.AddRange(comments); mgen.Xlat(def.body); }
private void GeneratePropertySetter(Statement setter) { if (setter == null) { return; } var def = (FunctionDef)setter; var mgen = new MethodGenerator(def, null, def.parameters, false, async, types, gen); var comments = ConvertFirstStringToComments(def.body.stmts); gen.CurrentMemberComments.AddRange(comments); mgen.Xlat(def.body); }