Tayrtahn c1737a540f Analyzer & Fixer for redundant Prototype type strings (#5718)
* Add Prototype analyzer

* Add Prototype fixer

* Early return after finding prototype attribute

* Add PrototypeEndsWithPrototypeRule diagnostic

* Oops. Uncomment parallelizable.

* Rework to ignore redundancy for non-literal string values

* Allow redundancy when removal would expose class name not ending in "Prototype"

* Promote PrototypeEndsWithPrototypeRule from warning to error, since it causes a runtime error.

* No need to get the symbol to get the class identifier

* Minor cleanup

* A little more cleanup

* More specific location for redundant name

* Refactor redundant name fixer so argument order is no longer important

* Add failing test

* Use symbol analysis to fix alias handling

* Oops! We have to go back to the previous syntax-based approach.

Now it's a hybrid.

Also fixed tests to not copy the prototype definitions.

---------

Co-authored-by: PJB3005 <pieterjan.briers+git@gmail.com>
2025-12-17 18:15:32 +01:00
2025-01-08 02:32:24 +01:00
2025-12-17 16:32:14 +01:00
2025-01-06 01:16:01 +01:00
2025-12-16 16:08:55 +01:00
2025-12-08 00:49:37 +01:00
2022-03-21 18:02:35 -06:00
2025-12-16 01:36:53 +01:00
2025-12-15 22:40:42 +01:00
2020-12-20 23:52:36 +01:00
2025-12-15 22:40:42 +01:00
2017-05-03 15:40:44 +02:00
2022-03-20 23:08:59 -06:00
2023-11-27 21:41:01 +11:00
2019-03-13 13:25:55 +01:00
2017-08-08 12:47:31 +02:00
2019-03-13 13:25:55 +01:00
2022-12-01 22:43:09 +01:00
2025-12-17 00:17:24 +01:00
2025-12-17 16:32:14 +01:00

Robust Toolbox

Robust Toolbox is an engine primarily being developed for Space Station 14, although we're working on making it usable for both singleplayer and multiplayer projects.

Use the content repo for actual development, even if you're modifying the engine itself.

Website | Discord | Forum | Steam | Standalone Download

Documentation/Wiki

The wiki has documentation on SS14s content, engine, game design and more. We also have lots of resources for new contributors to the project.

Contributing

We are happy to accept contributions from anybody. Get in Discord or IRC if you want to help. We've got a list of issues that need to be done and anybody can pick them up. Don't be afraid to ask for help either!

Building

This repository is the engine part of SS14. It's the base engine all SS14 servers will be built on. As such, it does not start on its own: it needs the content repo. Think of Robust Toolbox as BYOND in the context of Space Station 13.

See legal.md for licenses and copyright.

Description
Languages
C# 98.8%
Fluent 0.6%
Python 0.4%
GLSL 0.1%