Boo.Lang.Parser.BooParserBase.module_attribute C# (CSharp) Method

module_attribute() protected method

protected module_attribute ( Module module ) : void
module Module
return void
        protected void module_attribute(
		Module module
	)
        {
            AstAttribute attr = null;

            try {      // for error handling
            match(MODULE_ATTRIBUTE_BEGIN);
            attr=attribute();
            match(RBRACK);
            if (0==inputState.guessing)
            {
                module.Attributes.Add(attr);
            }
            }
            catch (RecognitionException ex)
            {
            if (0 == inputState.guessing)
            {
                reportError(ex, "module_attribute");
                recover(ex,tokenSet_19_);
            }
            else
            {
                throw ex;
            }
            }
        }
BooParserBase