Class: TaskJuggler::TextParser::Scanner::MacroStackEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/taskjuggler/TextParser/Scanner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(macro, args, text, endPos) ⇒ MacroStackEntry

Returns a new instance of MacroStackEntry.



36
37
38
39
40
41
# File 'lib/taskjuggler/TextParser/Scanner.rb', line 36

def initialize(macro, args, text, endPos)
  @macro = macro
  @args = args
  @text = text
  @endPos = endPos
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



34
35
36
# File 'lib/taskjuggler/TextParser/Scanner.rb', line 34

def args
  @args
end

#endPosObject (readonly)

Returns the value of attribute endPos.



34
35
36
# File 'lib/taskjuggler/TextParser/Scanner.rb', line 34

def endPos
  @endPos
end

#macroObject (readonly)

Returns the value of attribute macro.



34
35
36
# File 'lib/taskjuggler/TextParser/Scanner.rb', line 34

def macro
  @macro
end

#textObject (readonly)

Returns the value of attribute text.



34
35
36
# File 'lib/taskjuggler/TextParser/Scanner.rb', line 34

def text
  @text
end