Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Scanner, span?

Dikenal juga sebagai: scanner · span

Definition 1.3 University Computer Science — Year 3 · Bab 1 — Lexical Analysis

A scanner (or lexer) is the phase that turns the characters of a source file into a sequence of tokens, dropping white space and comments. The span of a token is where its lexeme lies in the source: its first and past-the-end byte offsets, and the line and column of its first character, both counted from 1.

Baca dalam konteks →