Class: Racc::ParserFileGenerator::Params

### Home Classes Methods

### In Files

- lib/racc/parserfilegenerator.rb

### Parent

Object

### Methods

- ::bool_attr
- ::new

### Files

- Manifest.txt
- README.rdoc
- pre-setup
- NEWS.en.rdoc
- grammar.en.rdoc

### Class/Module Index

Quicksearch

- Racc
- Racc::Accept
- Racc::ActionTable
- Racc::CompileError
- Racc::DebugFlags
- Racc::Error
- Racc::Goto
- Racc::Grammar
- Racc::Grammar::DefinitionEnv
- Racc::Grammar::PrecedenceDefinitionEnv
- Racc::GrammarFileParser
- Racc::GrammarFileParser::Result
- Racc::GrammarFileScanner
- Racc::ISet
- Racc::Item
- Racc::LocationPointer
- Racc::LogFileGenerator
- Racc::OrMark
- Racc::ParseError
- Racc::ParseError
- Racc::Parser
- Racc::ParserClassGenerator
- Racc::ParserFileGenerator
- Racc::ParserFileGenerator::Params
- Racc::Prec
- Racc::RRconflict
- Racc::Reduce
- Racc::Rule
- Racc::SRconflict
- Racc::Shift
- Racc::SourceText
- Racc::State
- Racc::StateTransitionTable
- Racc::StateTransitionTableGenerator
- Racc::States
- Racc::Sym
- Racc::SymbolTable
- Racc::UserAction
- Object
- Object::ParseError
- Array

No matching classes.

# Racc::ParserFileGenerator::Params

### Attributes

classname[RW]
filename[RW]
header[RW]
inner[RW]
interpreter[RW]
superclass[RW]

### Public Class Methods

bool_attr(name) click to toggle source

    # File lib/racc/parserfilegenerator.rb, line 23
    def self.bool_attr(name)
      module_eval(          def #{name}?            @#{name}          end          def #{name}=(b)            @#{name} = b          end)
    end

new() click to toggle source

    # File lib/racc/parserfilegenerator.rb, line 51
    def initialize
      # Parameters derived from parser
      self.filename = nil
      self.classname = nil
      self.superclass = 'Racc::Parser'
      self.omit_action_call = true
      self.result_var = true
      self.header = []
      self.inner  = []
      self.footer = []

      # Parameters derived from command line options
      self.debug_parser = false
      self.convert_line = true
      self.convert_line_all = false
      self.embed_runtime = false
      self.make_executable = false
      self.interpreter = nil
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.