private void WriterHeaderFile(LangStreamWrapper stream) { stream.NewLine(); foreach (VariableObj variableObj in _variables) { CppWriter.WriteVariableString(stream, variableObj); stream.WriteLine(";"); } stream.NewLine(); foreach (FunctionObj functionObj in _functions) { CppWriter.WriteFunctionString(stream, functionObj); stream.WriteLine(";"); } }
private void WriteSourceFile(LangStreamWrapper stream) { foreach (FunctionObj functionObj in _functions) { stream.NewLine(); CppWriter.WriteFunctionString(stream, functionObj); stream.WriteLine("{"); stream.WriteLine("}"); } }