class SyntaxTree::Parser::Semicolon

Semicolons are tokens that get added to the token list but never get attached to the AST. Because of this they only need to track their associated location so they can be used for computing bounds.

Attributes

location[R]

Public Class Methods

new(location) click to toggle source
# File lib/syntax_tree/parser.rb, line 3374
def initialize(location)
  @location = location
end