Snowball Docs
SocialsContributeTry out online!Standard Library
  • ๐Ÿ‘‹Welcome to snowball!
  • Overview
    • ๐ŸˆWhy Snowball
    • โœจLanguage Features
  • fundamentals
    • ๐Ÿ› ๏ธGetting started
    • ๐Ÿ“Installation
      • โ€ผ๏ธCommon install issues
    • ๐Ÿ‘ถHello world!
  • language reference
    • ๐ŸŒGlobal Scope
    • ๐Ÿค–Functions
      • ๐ŸฃBasic syntax
      • ๐Ÿ˜ตFunction Generics
      • โ“External functions
      • ๐Ÿ”งFunction Attributes
      • ๐Ÿ’ขLLVM Functions
      • ๐ŸšชProgram Entries
    • ๐ŸŽญTypes
      • ๐Ÿ”ขPrimitive types
      • ๐Ÿ”€Reference types
      • โ˜๏ธPointer types
      • ๐Ÿ”“Mutability
      • โ‰๏ธType generics
      • ๐Ÿ”–Type aliases
      • ๐ŸšฏUnknown pointer type (void pointers)
    • ๐Ÿ”„Casting
      • ๐Ÿ”Mutability casting
      • ๐ŸฆบDynamic casting
      • ๐Ÿ‘จโ€๐ŸŽ“Type conversions
    • ๐Ÿ—๏ธClasses
      • ๐Ÿ’ผMembers
      • ๐Ÿ”’Access qualifiers
      • ๐Ÿ›‘Final classes
      • ๐ŸงAbstract classes
    • ๐Ÿ”Access qualifiers
    • โš’๏ธMacros
      • โœจBuiltin macros
    • ๐Ÿ”ซUnsafe snowball
    • ๐Ÿ˜ดGenerics
    • ๐ŸŒณCode Flow
      • โ˜๏ธIf statements
    • ๐Ÿ“ฆModules
      • ๐Ÿ‘‰Using Statement
  • snowball cli usage
    • ๐Ÿ’ปCLI usage and parameters
    • ๐ŸงชTesting mode
  • Confy
    • โš™๏ธGetting Started
    • ๐ŸˆSnowball's Schema
  • Reky Package Manager
    • ๐Ÿ“ฆGetting Started
  • coding style
    • ๐Ÿ’…The desired standard
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. language reference

Classes

Classes in Snowball allow you to define custom types that encapsulate data and behavior. They provide a way to create objects with specific properties and methods. Let's explore the features of classes in Snowball with examples for each section:

class Foo {
  // class declarations, methods, etc...
}
PreviousType conversionsNextMembers

Last updated 1 year ago

Was this helpful?

๐Ÿ—๏ธ