BadScript 2
Loading...
Searching...
No Matches
BadStringExpression.cs
Go to the documentation of this file.
4
6
11{
17 public BadStringExpression(string value, BadSourcePosition position) : base(value, position) { }
18
20 protected override IEnumerable<BadObject> InnerExecute(BadExecutionContext context)
21 {
22 yield return BadObject.Wrap(Value.Substring(1, Value.Length - 2));
23 }
24}
Describes a specific position inside a source file.
BadStringExpression(string value, BadSourcePosition position)
Constructor of the String Expression.
override IEnumerable< BadObject > InnerExecute(BadExecutionContext context)
The Execution Context. Every execution of a script needs a context the script is running in....
The Base Class for all BadScript Objects.
Definition BadObject.cs:14
Contains Shared Data Structures and Functionality.
Contains the Constant Expressions for the BadScript2 Language.
Contains the Runtime Objects.
Definition BadArray.cs:10
Contains the Runtime Implementation.