Module: TRuby

Defined in:
lib/t_ruby.rb,
lib/t_ruby/ir.rb,
lib/t_ruby/cli.rb,
lib/t_ruby/cache.rb,
lib/t_ruby/config.rb,
lib/t_ruby/parser.rb,
lib/t_ruby/version.rb,
lib/t_ruby/watcher.rb,
lib/t_ruby/compiler.rb,
lib/t_ruby/type_env.rb,
lib/t_ruby/benchmark.rb,
lib/t_ruby/lsp_server.rb,
lib/t_ruby/smt_solver.rb,
lib/t_ruby/body_parser.rb,
lib/t_ruby/string_utils.rb,
lib/t_ruby/type_checker.rb,
lib/t_ruby/type_erasure.rb,
lib/t_ruby/doc_generator.rb,
lib/t_ruby/error_handler.rb,
lib/t_ruby/package_manager.rb,
lib/t_ruby/type_inferencer.rb,
lib/t_ruby/version_checker.rb,
lib/t_ruby/heredoc_detector.rb,
lib/t_ruby/ast_type_inferrer.rb,
lib/t_ruby/parser_combinator.rb,
lib/t_ruby/runtime_validator.rb,
lib/t_ruby/union_type_parser.rb,
lib/t_ruby/constraint_checker.rb,
lib/t_ruby/bundler_integration.rb,
lib/t_ruby/generic_type_parser.rb,
lib/t_ruby/type_alias_registry.rb,
lib/t_ruby/docs_badge_generator.rb,
lib/t_ruby/declaration_generator.rb,
lib/t_ruby/docs_example_verifier.rb,
lib/t_ruby/docs_example_extractor.rb,
lib/t_ruby/intersection_type_parser.rb

Defined Under Namespace

Modules: IR, ParserCombinator, QuickBenchmark, RuntimeTypeChecks, SMT, StringUtils Classes: ASTTypeInferrer, BenchmarkSuite, BodyParser, BoundsConstraint, BundlerIntegration, CLI, CacheEntry, CircularTypeAliasError, CompilationProfiler, Compiler, Config, ConfigError, ConstrainedTypeRegistry, Constraint, ConstraintChecker, CrossFileTypeChecker, DeclarationCache, DeclarationGenerator, DeclarationLoader, DeclarationParser, DependencyResolver, DocGenerator, DocsBadgeGenerator, DocsExampleExtractor, DocsExampleVerifier, DuplicateTypeAliasError, EnhancedIncrementalCompiler, EqualityConstraint, ErrorHandler, FileCache, FlowContext, GenericTypeParser, HeredocDetector, IRCodeGenerator, IncrementalCompiler, InferredType, IntersectionTypeParser, LSPServer, LegacyTypeChecker, LengthConstraint, MemoryCache, NumericRangeConstraint, PackageManager, PackageManifest, PackageRegistry, ParallelProcessor, ParseCache, Parser, PatternConstraint, PredicateConstraint, RemoteRegistry, RuntimeTypeError, RuntimeValidator, SMTTypeChecker, SemanticVersion, TypeAliasRegistry, TypeCheckError, TypeChecker, TypeEnv, TypeErasure, TypeHierarchy, TypeInferencer, TypeResolutionCache, TypeScope, UndefinedTypeError, UnionTypeParser, ValidationConfig, VersionChecker, VersionConstraint, Watcher

Constant Summary collapse

VERSION =
"0.0.41"
IDENTIFIER_CHAR =

Pattern for method names that supports Unicode characters pL matches any Unicode letter, pN matches any Unicode number

'[\p{L}\p{N}_]'
METHOD_NAME_PATTERN =
"#{IDENTIFIER_CHAR}+[?!]?".freeze
VISIBILITY_PATTERN =

Visibility modifiers for method definitions

'(?:(?:private|protected|public)\s+)?'