Class Index [+]

Quicksearch

Treetop::Compiler::AtomicExpression

Public Instance Methods

inline_modules() click to toggle source
   # File lib/treetop/compiler/node_classes/atomic_expression.rb, line 4
4:       def inline_modules
5:         []
6:       end
single_quote(string) click to toggle source
    # File lib/treetop/compiler/node_classes/atomic_expression.rb, line 8
 8:       def single_quote(string)
 9:         # Double any backslashes, then backslash any single-quotes:
10:         "'#{string.gsub(/\\/) { '\\\\' }.gsub(/'/) { "\\'"}}'"
11:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.