21 new BadMetaData(
"",
"",
"any",
new Dictionary<string, BadParameterMetaData>());
51 string returnDescription,
53 Dictionary<string, BadParameterMetaData> parameterDescriptions)
64 throw new NotSupportedException();
70 return propName is
"Description" or
"Return" or
"Parameters" ||
71 base.HasProperty(propName, caller);
83 (p) =>
new BadTable(
new Dictionary<string, BadObject>
97 {
"Type", x.Value.Type },
115 StringBuilder sb =
new StringBuilder();
121 sb.AppendLine($
"Parameter {kv.Key} {kv.Value.Type}: {kv.Value.Description}");
126 return sb.ToString();
Implements the Scope for the Script Engine.
The Base Class for all BadScript Objects.
virtual BadObjectReference GetProperty(string propName, BadScope? caller=null)
Returns a Reference to the Property with the given Name.
Implements the base functionality for a BadScript Reference.
static BadObjectReference Make(string refText, Func< BadSourcePosition?, BadObject > getter, Action< BadObject, BadSourcePosition?, BadPropertyInfo?>? setter=null, Action< BadSourcePosition?>? delete=null)
Creates a new Reference Object.
Implements a Table Structure for the BadScript Language.
Implements a Class Prototype for the BadScript Language.
Contains the Parser for the BadScript2 Language.
Contains Runtime Type Objects.
Contains the Runtime Objects.
Contains the Runtime Implementation.