Reviewed-on: https://git.bupt-hpc.cn/jackfiled/CanonSharp/pulls/3 Co-authored-by: jackfiled <xcrenchangjun@outlook.com> Co-committed-by: jackfiled <xcrenchangjun@outlook.com>
		
			
				
	
	
		
			13 lines
		
	
	
		
			343 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			343 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using CanonSharp.Pascal.Scanner;
 | 
						|
 | 
						|
namespace CanonSharp.Pascal.SyntaxTree;
 | 
						|
 | 
						|
public sealed class ConstantNode(LexicalToken identifier, SyntaxNodeBase value) : SyntaxNodeBase
 | 
						|
{
 | 
						|
    public override SyntaxNodeType NodeType => SyntaxNodeType.Constant;
 | 
						|
 | 
						|
    public LexicalToken Identifier = identifier;
 | 
						|
 | 
						|
    public SyntaxNodeBase Value = value;
 | 
						|
}
 |