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.



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

#argsObject (readonly)

Returns the value of attribute args.



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

def args
  @args
end

#endPosObject (readonly)

Returns the value of attribute endPos.



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

def endPos
  @endPos
end

#macroObject (readonly)

Returns the value of attribute macro.



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

def macro
  @macro
end

#textObject (readonly)

Returns the value of attribute text.



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

def text
  @text
end