Class: TaskJuggler::TextParser::Scanner::MacroStackEntry
- Defined in:
- lib/taskjuggler/TextParser/Scanner.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#endPos ⇒ Object
readonly
Returns the value of attribute endPos.
-
#macro ⇒ Object
readonly
Returns the value of attribute macro.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(macro, args, text, endPos) ⇒ MacroStackEntry
constructor
A new instance of MacroStackEntry.
Constructor Details
#initialize(macro, args, text, endPos) ⇒ MacroStackEntry
Returns a new instance of MacroStackEntry.
35 36 37 38 39 40 |
# File 'lib/taskjuggler/TextParser/Scanner.rb', line 35 def initialize(macro, args, text, endPos) @macro = macro @args = args @text = text @endPos = endPos end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
33 34 35 |
# File 'lib/taskjuggler/TextParser/Scanner.rb', line 33 def args @args end |
#endPos ⇒ Object (readonly)
Returns the value of attribute endPos.
33 34 35 |
# File 'lib/taskjuggler/TextParser/Scanner.rb', line 33 def endPos @endPos end |
#macro ⇒ Object (readonly)
Returns the value of attribute macro.
33 34 35 |
# File 'lib/taskjuggler/TextParser/Scanner.rb', line 33 def macro @macro end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
33 34 35 |
# File 'lib/taskjuggler/TextParser/Scanner.rb', line 33 def text @text end |