Search in sources :

Example 11 with PreVariableParser

use of plugin.pretokens.parser.PreVariableParser in project pcgen by PCGen.

the class WieldTokenTest method setUp.

@Override
public void setUp() throws PersistenceLayerException, URISyntaxException {
    super.setUp();
    TokenRegistration.register(new PreVariableParser());
    TokenRegistration.register(new PreVariableWriter());
    GameModeFileLoader.addDefaultWieldCategories(primaryContext);
    GameModeFileLoader.addDefaultWieldCategories(secondaryContext);
}
Also used : PreVariableWriter(plugin.pretokens.writer.PreVariableWriter) PreVariableParser(plugin.pretokens.parser.PreVariableParser)

Aggregations

PreVariableParser (plugin.pretokens.parser.PreVariableParser)11 Qualifier (pcgen.cdom.reference.Qualifier)3 PlayerCharacter (pcgen.core.PlayerCharacter)3 BonusObj (pcgen.core.bonus.BonusObj)3 Prerequisite (pcgen.core.prereq.Prerequisite)3 LoadContext (pcgen.rules.context.LoadContext)3 PreVariableWriter (plugin.pretokens.writer.PreVariableWriter)3 URI (java.net.URI)1 URISyntaxException (java.net.URISyntaxException)1 Test (org.junit.Test)1 UnreachableError (pcgen.base.lang.UnreachableError)1 LevelCommandFactory (pcgen.cdom.content.LevelCommandFactory)1 KnownSpellFacet (pcgen.cdom.facet.KnownSpellFacet)1 FixedSizeFormula (pcgen.cdom.formula.FixedSizeFormula)1 ClassSpellList (pcgen.cdom.list.ClassSpellList)1 Ability (pcgen.core.Ability)1 SpecialAbility (pcgen.core.SpecialAbility)1 Spell (pcgen.core.spell.Spell)1 CampaignSourceEntry (pcgen.persistence.lst.CampaignSourceEntry)1 PCClassLoader (pcgen.persistence.lst.PCClassLoader)1