Update README and Lexer namespaces

This commit is contained in:
Sinai 2021-03-18 18:52:30 +11:00
parent 1a5843f8e1
commit 9da2ea9b1b
13 changed files with 12 additions and 14 deletions

View File

@ -133,4 +133,4 @@ Written by Sinai.
This project uses code from:
* (GPL) [ManlyMarco](https://github.com/ManlyMarco)'s [Runtime Unity Editor](https://github.com/ManlyMarco/RuntimeUnityEditor), which I used for some aspects of the C# Console and Auto-Complete features. The snippets I used are indicated with a comment.
* (MIT) [denikson](https://github.com/denikson) (aka Horse)'s [mcs-unity](https://github.com/denikson/mcs-unity). I commented out the `SkipVisibilityExt` constructor since it was causing an exception with the Hook it attempted in IL2CPP.
* (Apache) [InGameCodeEditor](https://assetstore.unity.com/packages/tools/gui/ingame-code-editor-144254) was used as the base for the syntax highlighting for UnityExplorer's C# console, although it has been heavily rewritten and optimized. Used classes are in the `UnityExplorer.CSConsole.Lexer` namespace.
* (Apache) [InGameCodeEditor](https://assetstore.unity.com/packages/tools/gui/ingame-code-editor-144254) was used as the base for the syntax highlighting for UnityExplorer's C# console, although it has been heavily rewritten and optimized. Used classes are in the `UnityExplorer.UI.Main.CSConsole.Lexer` namespace.

View File

@ -3,6 +3,7 @@ using Mono.CSharp;
using UnityExplorer.UI;
using UnityExplorer.UI.Main;
using UnityExplorer.Core.Inspectors;
using UnityExplorer.UI.Main.CSConsole;
namespace UnityExplorer.Core.CSharp
{

View File

@ -5,7 +5,7 @@ using System.Reflection;
using UnityEngine;
using UnityExplorer.Core;
using UnityExplorer.Core.Unity;
using UnityExplorer.UI.CSConsole;
using UnityExplorer.UI.Main.CSConsole;
namespace UnityExplorer.Core.CSharp
{

View File

@ -7,7 +7,6 @@ using UnityEngine.UI;
using UnityExplorer.Core.CSharp;
using UnityExplorer.Core.Unity;
using UnityExplorer.UI;
using UnityExplorer.UI.CSConsole;
using UnityExplorer.UI.Main;
namespace UnityExplorer.UI.Main.CSConsole

View File

@ -1,9 +1,9 @@
using System.Collections.Generic;
using System.Text;
using UnityEngine;
using UnityExplorer.UI.CSConsole.Lexer;
using UnityExplorer.UI.Main.CSConsole.Lexer;
namespace UnityExplorer.UI.CSConsole
namespace UnityExplorer.UI.Main.CSConsole
{
public struct LexerMatchInfo
{

View File

@ -4,7 +4,6 @@ using System.IO;
using System.Reflection;
using System.Text;
using UnityExplorer.Core.CSharp;
using UnityExplorer.UI.CSConsole;
using System.Linq;
using UnityExplorer.Core.Input;
using UnityEngine;
@ -14,7 +13,7 @@ using UnityExplorer.UI.Reusable;
using UnityExplorer.UI.Main.CSConsole;
using UnityExplorer.Core;
namespace UnityExplorer.UI.Main
namespace UnityExplorer.UI.Main.CSConsole
{
public class CSharpConsole : BaseMenuPage
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace UnityExplorer.UI.CSConsole.Lexer
namespace UnityExplorer.UI.Main.CSConsole.Lexer
{
public class CommentMatch : Matcher
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace UnityExplorer.UI.CSConsole.Lexer
namespace UnityExplorer.UI.Main.CSConsole.Lexer
{
// I use two different KeywordMatch instances (valid and invalid).
// This class just contains common implementations.

View File

@ -3,7 +3,7 @@ using UnityEngine;
using System.Linq;
using UnityExplorer.Core.Unity;
namespace UnityExplorer.UI.CSConsole.Lexer
namespace UnityExplorer.UI.Main.CSConsole.Lexer
{
public abstract class Matcher
{

View File

@ -1,6 +1,6 @@
using UnityEngine;
namespace UnityExplorer.UI.CSConsole.Lexer
namespace UnityExplorer.UI.Main.CSConsole.Lexer
{
public class NumberMatch : Matcher
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace UnityExplorer.UI.CSConsole.Lexer
namespace UnityExplorer.UI.Main.CSConsole.Lexer
{
public class StringMatch : Matcher
{

View File

@ -2,7 +2,7 @@
using System.Linq;
using UnityEngine;
namespace UnityExplorer.UI.CSConsole.Lexer
namespace UnityExplorer.UI.Main.CSConsole.Lexer
{
public class SymbolMatch : Matcher
{

View File

@ -5,7 +5,6 @@ using UnityEngine;
using UnityEngine.UI;
using UnityExplorer.Core.Config;
using UnityExplorer.Core.Unity;
using UnityExplorer.UI.CSConsole;
using UnityExplorer.UI.Main;
using UnityExplorer.UI.Main.CSConsole;