public LuaCompilationUnitSyntax(string filePath = "") { FilePath = filePath; var info = Assembly.GetExecutingAssembly().GetName(); LuaShortCommentStatement versonStatement = new LuaShortCommentStatement($" Generated by {info.Name} Compiler"); AddStatement(versonStatement); var system = LuaIdentifierNameSyntax.System; AddImport(system, system); }
public LuaCompilationUnitSyntax() { var info = Assembly.GetExecutingAssembly().GetName(); LuaShortCommentStatement versonStatement = new LuaShortCommentStatement($" Generated by {info.Name} Compiler {info.Version}"); HeadAreaStatements.Statements.Add(versonStatement); var system = LuaIdentifierNameSyntax.System; AddImport(system, system); Statements.Add(HeadAreaStatements); }