Class: DBC::OCLParser
- Inherits:
-
Parser
- Object
- CTokenizer::LexerBase
- Parser
- DBC::OCLParser
- Defined in:
- lib/dbc/dbc.rb
Overview
Parser
Constant Summary
Constants included from CTokenizer
Instance Attribute Summary collapse
-
#conditions ⇒ Object
readonly
Returns the value of attribute conditions.
Attributes included from CTokenizer::Scoped
Attributes inherited from CTokenizer::LexerBase
Instance Method Summary collapse
-
#initialize(str, file = nil, line = 1) ⇒ OCLParser
constructor
A new instance of OCLParser.
- #shift ⇒ Object
Methods inherited from Parser
Methods included from CTokenizer::Scoped
#macro?, #process_scope, #start_of_line?
Methods inherited from CTokenizer::LexerBase
#empty?, #file, #line, #match?, #post_match, #scan
Methods included from CTokenizer
check_token, #collect, #each, #error, error, line_count, #parse_error, #to_a, #token_error, #warning, whitespace?
Constructor Details
Instance Attribute Details
#conditions ⇒ Object (readonly)
Returns the value of attribute conditions.
198 199 200 |
# File 'lib/dbc/dbc.rb', line 198 def conditions @conditions end |