(identifier, constant)
| 2716 | var sequence = lop.rules.sequence; |
| 2717 | |
| 2718 | var identifierToConstant = function(identifier, constant) { |
| 2719 | return lop.rules.then( |
| 2720 | lop.rules.token("identifier", identifier), |
| 2721 | function() { |
| 2722 | return constant; |
| 2723 | } |
| 2724 | ); |
| 2725 | }; |
| 2726 | |
| 2727 | var paragraphRule = identifierToConstant("p", documentMatchers.paragraph); |
| 2728 | var runRule = identifierToConstant("r", documentMatchers.run); |
no outgoing calls
no test coverage detected