daily update on 20250214 by nitload youmu, building syntax analysor[D[D[D[D[D[C[C[C[C[C, tough!
This commit is contained in:
@@ -33,10 +33,13 @@ using StgSharp.Collections;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Schema;
|
||||
|
||||
namespace StgSharp.Script
|
||||
{
|
||||
public class AbstractSyntaxTree<TToken> where TToken: IExpressionToken
|
||||
public class AbstractSyntaxTree<TToken, TType>
|
||||
where TToken: IExpressionToken<TToken, TType>
|
||||
where TType: ITypeSource<TType>
|
||||
{
|
||||
|
||||
private bool _cacheAvailable;
|
||||
@@ -64,11 +67,7 @@ namespace StgSharp.Script
|
||||
return _allToken.Contains( node );
|
||||
}
|
||||
|
||||
public void MakeCache()
|
||||
{
|
||||
Root.TryGetNextLevel( out ICollection<IExpressionToken>? nextLevel );
|
||||
foreach( TToken node in nextLevel ) { }
|
||||
}
|
||||
public virtual void MakeCache() { }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user