Module: Temple::Grammar

Extended by:
Mixins::GrammarDSL
Defined in:
lib/temple/grammar.rb

Overview

Temple expression grammar which can be used to validate Temple expressions.

Example:

Temple::Grammar.match? [:static, 'Valid Temple Expression']
Temple::Grammar.validate! [:multi, 'Invalid Temple Expression']

See Expression documentation.

Method Summary

Methods included from Mixins::GrammarDSL

Rule, Value, const_missing, extended, match?, validate!