24 parser.
Reader.SkipNonToken();
25 string name = parser.
Reader.ParseWord().Text;
26 parser.
Reader.SkipNonToken();
28 parser.
Reader.SkipNonToken();
30 string path = pathResult.
Value.Substring(1, pathResult.
Value.Length - 2);
Describes a specific position inside a source file.
BadSourcePosition Combine(BadSourcePosition other)
Combines two Source Positions.
Contains Static Data for the BadScript Language.
The Parser of the Language. It turns Source Code into an Expression Tree.
BadSourceReader Reader
The Source Reader.
Base Implementation for all Expressions used inside the Script.
A Import Expression that is used to import a module from a specified path.
Base class for all Value Parsers.
Parses the Import Expression.
override bool IsValue(BadSourceParser parser)
override BadExpression ParseValue(BadSourceParser parser)
BadSourcePosition Eat(char c)
Asserts that the current character matches the specified character.
BadSourcePosition SourcePosition
The Source Position of the Token.
Implements a Token that represents a String.
string Value
The Value of the Token.
Contains Shared Data Structures and Functionality.
Contains the Expressions for the BadScript2 Language.
Contains the Primitive Tokens for the BadScript2 Language.
Contains the Source Reader for the BadScript2 Language.