Rhino.Ast.Symbol.SetDeclType C# (CSharp) Method

SetDeclType() public method

Sets symbol declaration type
public SetDeclType ( int declType ) : void
declType int
return 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;
		}