MCPcopy Create free account
hub / github.com/WheretIB/nullc / chP

Function chP

SupSpi/SupSpi.cpp:40–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 void SetActionPolicy(ActionPolicy pol){ actionPol = pol; }
39
40 Rule chP(char ch){ return Rule(new ChlitP(ch)); }
41 Rule strP(char* str){ return Rule(new StrlitP(str)); }
42
43 Rule operator ! (Rule a){ return Rule(new RepeatP(a, ZERO_ONE)); }

Callers 4

InitGrammarMethod · 0.85
space_PFunction · 0.85
operator |Function · 0.85
operator >>Function · 0.85

Calls 1

RuleClass · 0.85

Tested by

no test coverage detected