Home | History | Annotate | Download | only in antlr3

Lines Matching refs:column

49 information to developers, such as current line number and column. Furthermore,
234 and <tt>column</tt>, which are expected to indicate the current line number and
237 == A Word About <tt>line</tt> and <tt>column</tt> attributes
239 Presumably, the concept of <tt>line</tt> and <tt>column</tt> attirbutes of text
241 up (not 0). Column numbers are indexed from 0 up. Thus, examining sample text:
250 *Note:* most ANTLR runtime APIs for other languages refer to <tt>column</tt>
266 attr_accessor :column
351 also track various pieces of information such as the line and column numbers at
378 attr_reader :column
395 # [:column] the initial column number; default: +0+
402 @column = options.fetch :column, 0
428 # [:column] the initial column number; default: +0+
437 @column = options.fetch :column, 0
469 @position, @line, @column = initial_location
481 @column += 1
484 @column = 0
571 state = [ @position, @line, @column ].freeze
582 @position, @line, @column = location
613 # note: if +index+ is before the current position, the +line+ and +column+
621 @column += skipped.length
624 @column = skipped.length - skipped.rindex( "\n" ) - 1
634 # * the stream's location in <tt>index / line:column</tt> format
645 location = "#@position / line #@line:#@column"