A SyntaxError is raised when the Parser comes across unclosed tags, sections, illegal content in tags, or anything of that sort.

Methods
N
T
Class Public methods
new(message, position)
# File lib/mustache/parser.rb, line 30
      def initialize(message, position)
        @message = message
        @lineno, @column, @line = position
        @stripped_line = @line.strip
        @stripped_column = @column - (@line.size - @line.lstrip.size)
      end
Instance Public methods
to_s()
# File lib/mustache/parser.rb, line 37
      def to_s
        "\#{@message}\nLine \#{@lineno}\n\#{@stripped_line}\n\#{' ' * @stripped_column}^\n"
      end