lib/graphql/language/token.rb in graphql-0.18.10 vs lib/graphql/language/token.rb in graphql-0.18.11

- old
+ new

@@ -1,8 +1,12 @@ module GraphQL module Language + # Emitted by the lexer and passed to the parser. + # Contains type, value and position data. class Token + # @return [Symbol] The kind of token this is attr_reader :name + def initialize(value:, name:, line:, col:) @name = name @value = value @line = line @col = col