class Checker

class Checker

lib/compiler/checker/checker.tya:2

Checker provides the compiler/checker/Checker standard library API.

Source
# Checker provides the compiler/checker/Checker standard library API.
class Checker
  # Checker.check provides the compiler/checker/Checker standard library operation.
  # @param source String source value.
  # @return Any the resulting value.
  check: source ->
    compiler_checker_check(source)

  # Checker.check_ast provides the compiler/checker/Checker standard library operation.
  # @param program Any program value.
  # @return Any the resulting value.
  check_ast: program ->
    compiler_checker_check_ast(program)

Methods

check

Checker.check(source)

lib/compiler/checker/checker.tya:6

Checker.check provides the compiler/checker/Checker standard library operation.

Source
  # Checker.check provides the compiler/checker/Checker standard library operation.
  # @param source String source value.
  # @return Any the resulting value.
  check: source ->
    compiler_checker_check(source)

check_ast

Checker.check_ast(program)

lib/compiler/checker/checker.tya:12

Checker.check_ast provides the compiler/checker/Checker standard library operation.

Source
  # Checker.check_ast provides the compiler/checker/Checker standard library operation.
  # @param program Any program value.
  # @return Any the resulting value.
  check_ast: program ->
    compiler_checker_check_ast(program)