Class: DBC::OCLParser
- Inherits:
-
Parser
- Object
- CTokenizer::LexerBase
- Parser
- DBC::OCLParser
- Defined in:
- lib/dbc/dbc.rb
Overview
Parser
Instance Attribute Summary collapse
-
#conditions ⇒ Object
readonly
Returns the value of attribute conditions.
Attributes included from CTokenizer::Scoped
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
Methods included from CTokenizer
check_string, check_token, #collect, create_newlines, #each, error, #error, join, line_count, #parse_error, split, split_token, #to_a, #token_error, #warning
Constructor Details
Instance Attribute Details
#conditions ⇒ Object (readonly)
Returns the value of attribute conditions.
192 193 194 |
# File 'lib/dbc/dbc.rb', line 192 def conditions @conditions end |