GetName() 공개 메소드

Returns symbol name
public GetName ( ) : string
리턴 string
예제 #1
0
파일: Scope.cs 프로젝트: hazzik/Rhino.Net
		/// <summary>Enters a symbol into this scope.</summary>
		/// <remarks>Enters a symbol into this scope.</remarks>
		public virtual void PutSymbol(Symbol symbol)
		{
			if (symbol.GetName() == null)
			{
				throw new ArgumentException("null symbol name");
			}
			EnsureSymbolTable();
			symbolTable.Put(symbol.GetName(), symbol);
			symbol.SetContainingTable(this);
			top.AddSymbol(symbol);
		}