Rhino.Ast.Symbol.SetDeclType C# (CSharp) 메소드

SetDeclType() 공개 메소드

Sets symbol declaration type
public SetDeclType ( int declType ) : void
declType int
리턴 void
		public virtual void SetDeclType(int declType)
		{
			if (!(declType == Token.FUNCTION || declType == Token.LP || declType == Token.VAR || declType == Token.LET || declType == Token.CONST))
			{
				throw new ArgumentException("Invalid declType: " + declType);
			}
			this.declType = declType;
		}