Uses of Interface
io.vertigo.commons.peg.rule.PegRule
Packages that use PegRule
-
Uses of PegRule in io.vertigo.commons.peg
Methods in io.vertigo.commons.peg that return PegRuleModifier and TypeMethodDescriptionPegEnumRuleHelper.getGlobalRule(Class<B> enumClass) Get a matching rule for an enum.PegEnumRuleHelper.getIndividualRule(B element) Get a rule for an individual enum value.PegEnumRuleHelper.getIndividualRuleSkipSpaces(B element) Get a rule for an individual enum value, skipping spaces before.PegEnumRuleHelper.getSpacedGlobalRule(Class<B> enumClass) Get a matching rule for an enum with spaces around.Methods in io.vertigo.commons.peg with parameters of type PegRuleModifier and TypeMethodDescriptionstatic voidstatic voidstatic void -
Uses of PegRule in io.vertigo.commons.peg.rule
Classes in io.vertigo.commons.peg.rule that implement PegRuleModifier and TypeClassDescriptionclassPegAbstractRule<R,M> Une règle peut être vue comme - la création d'une règle principale - la gestion du résultat du parsingMethods in io.vertigo.commons.peg.rule that return PegRuleModifier and TypeMethodDescriptionstatic PegRule<PegRule.Dummy> PegRules.blanks()static PegRule<PegRule.Dummy> PegRules.comparison(PegRule<?> valueRule) Rule for simple comparisons.PegRules.delayedComparison(PegRule<A> valueRule) Rule for comparisons with delayed term resolution.static <A,B extends Enum<B> & PegOperatorTerm<R>, R>
PegRule<PegSolver<A, R, R>> PegRules.delayedOperation(PegRule<A> operandRule, Class<B> operatorClass, boolean isOperatorSpaced) Rule to resolve operations.PegRules.delayedOperationAndComparison(PegRule<A> valueRule) Rule for make operations and then compare.static <A,B extends Enum<B> & PegOperatorTerm<R>, R>
PegRule<PegSolver<A, R, R>> PegRules.delayedOperationLazy(PegRule<A> operandRule, Class<B> operatorClass, boolean isOperatorSpaced) Rule to resolve operations, non greedy.PegAbstractRule.getMainRule()static <R> PegRule<R> Named a Rule.static <R> PegRule<R> PegRules.named(PegRule<R> innerRule, String ruleName, io.vertigo.core.locale.LocaleMessageKey messageKey) Name a rule with a message key for error message.static <R> PegRule<R> Name a rule with a fixed error message.static <A,B extends Enum<B> & PegOperatorTerm<A>>
PegRule<A> Rule to resolve operations.static <A,B extends Enum<B> & PegOperatorTerm<A>>
PegRule<A> PegRules.operationLazy(PegRule<A> operandRule, Class<B> operatorClass, boolean isOperatorSpaced) Rule to resolve operations, non greedy.static <O> PegRule<O> static PegRule<PegRule.Dummy> PegRules.skipBlanks()static PegRule<PegRule.Dummy> PegRules.skipBlanks(String blanks) PegRules.word(boolean emptyAccepted, String checkedChars, PegWordRuleMode mode, String readableExpression) PegRules.zeroOrMore(PegRule<R> rule, boolean untilEnd) Methods in io.vertigo.commons.peg.rule with parameters of type PegRuleModifier and TypeMethodDescriptionPegRules.comparison(PegRule<?> valueRule) Rule for simple comparisons.PegRules.delayedComparison(PegRule<A> valueRule) Rule for comparisons with delayed term resolution.static <A,B extends Enum<B> & PegOperatorTerm<R>, R>
PegRule<PegSolver<A, R, R>> PegRules.delayedOperation(PegRule<A> operandRule, Class<B> operatorClass, boolean isOperatorSpaced) Rule to resolve operations.PegRules.delayedOperationAndComparison(PegRule<A> valueRule) Rule for make operations and then compare.static <A,B extends Enum<B> & PegOperatorTerm<R>, R>
PegRule<PegSolver<A, R, R>> PegRules.delayedOperationLazy(PegRule<A> operandRule, Class<B> operatorClass, boolean isOperatorSpaced) Rule to resolve operations, non greedy.static <R> PegRule<R> Named a Rule.static <R> PegRule<R> PegRules.named(PegRule<R> innerRule, String ruleName, io.vertigo.core.locale.LocaleMessageKey messageKey) Name a rule with a message key for error message.static <R> PegRule<R> Name a rule with a fixed error message.static StringPegRules.namedRulesAsHtml(PegRule<?> rootRule) PegRulesHtmlRenderer.obtainGrammar(PegRule<?> rootRule) static <A,B extends Enum<B> & PegOperatorTerm<A>>
PegRule<A> Rule to resolve operations.static <A,B extends Enum<B> & PegOperatorTerm<A>>
PegRule<A> PegRules.operationLazy(PegRule<A> operandRule, Class<B> operatorClass, boolean isOperatorSpaced) Rule to resolve operations, non greedy.static <O> PegRule<O> PegRules.zeroOrMore(PegRule<R> rule, boolean untilEnd) Method parameters in io.vertigo.commons.peg.rule with type arguments of type PegRuleModifier and TypeMethodDescriptionConstructors in io.vertigo.commons.peg.rule with parameters of type PegRuleModifierConstructorDescriptionprotectedPegAbstractRule(PegRule<M> mainRule) protectedPegAbstractRule(PegRule<M> mainRule, String ruleName)