class Eggshell::ProcessorContext

Holds things like variables, line/char count, and other useful information for a {{Processor}} instance.

Attributes

block_params[R]
blocks[R]
blocks_map[R]
expr_cache[R]
fmt_handlers[R]
funcs[R]
macros[R]
vars[R]

Public Class Methods

new() click to toggle source
# File lib/eggshell/processor-context.rb, line 3
def initialize
        @vars = {:references => {}, :toc => [], :include_paths => [], 'log.level' => 1}
        @funcs = {}
        @macros = {}
        @blocks = []
        @blocks_map = {}
        @block_params = {}
        @expr_cache = {}
        @fmt_handlers = {}
end