class Lexer
class Lexer
lib/compiler/lexer/lexer.tya:2
Lexer provides the compiler/lexer/Lexer standard library API.
Source
# Lexer provides the compiler/lexer/Lexer standard library API.
class Lexer
# Lexer.lex provides the compiler/lexer/Lexer standard library operation.
# @param source String source value.
# @return Any the resulting value.
lex: source ->
compiler_lexer_lex(source)
# Lexer.lex_with_comments provides the compiler/lexer/Lexer standard library operation.
# @param source String source value.
# @return Any the resulting value.
lex_with_comments: source ->
compiler_lexer_lex_with_comments(source)
Methods
lex
Lexer.lex(source)
lib/compiler/lexer/lexer.tya:6
Lexer.lex provides the compiler/lexer/Lexer standard library operation.
Source
# Lexer.lex provides the compiler/lexer/Lexer standard library operation.
# @param source String source value.
# @return Any the resulting value.
lex: source ->
compiler_lexer_lex(source)
lex_with_comments
Lexer.lex_with_comments(source)
lib/compiler/lexer/lexer.tya:12
Lexer.lex_with_comments provides the compiler/lexer/Lexer standard library operation.
Source
# Lexer.lex_with_comments provides the compiler/lexer/Lexer standard library operation.
# @param source String source value.
# @return Any the resulting value.
lex_with_comments: source ->
compiler_lexer_lex_with_comments(source)