{"doc_urls":["specification/index.html#specification","specification/tokens/index.html#tokens","specification/tokens/token-format.html#token-format","specification/tokens/token-kinds.html#token-kinds","specification/tokens/kinds/operators.html#operators","specification/tokens/kinds/keywords.html#keywords","specification/tokens/kinds/identifiers.html#identifiers","specification/tokens/kinds/literals.html#literals","specification/tokens/kinds/literals.html#strings","specification/tokens/kinds/literals.html#numbers","specification/tokens/kinds/literals.html#booleans","specification/tokens/kinds/brackets.html#brackets","specification/parser/index.html#parser","specification/parser/index.html#expressionss","specification/parser/index.html#operator-priority","examples/index.html#examples"],"index":{"documentStore":{"docInfo":{"0":{"body":0,"breadcrumbs":2,"title":1},"1":{"body":8,"breadcrumbs":3,"title":1},"10":{"body":2,"breadcrumbs":6,"title":1},"11":{"body":0,"breadcrumbs":6,"title":1},"12":{"body":0,"breadcrumbs":3,"title":1},"13":{"body":0,"breadcrumbs":3,"title":1},"14":{"body":62,"breadcrumbs":4,"title":2},"15":{"body":4,"breadcrumbs":3,"title":1},"2":{"body":31,"breadcrumbs":6,"title":2},"3":{"body":86,"breadcrumbs":6,"title":2},"4":{"body":0,"breadcrumbs":6,"title":1},"5":{"body":0,"breadcrumbs":6,"title":1},"6":{"body":0,"breadcrumbs":6,"title":1},"7":{"body":9,"breadcrumbs":6,"title":1},"8":{"body":14,"breadcrumbs":6,"title":1},"9":{"body":7,"breadcrumbs":6,"title":1}},"docs":{"0":{"body":"","breadcrumbs":"Specification » Specification","id":"0","title":"Specification"},"1":{"body":"This chapter describes the tokens specification. All of the tokens in the design are described in this section.","breadcrumbs":"Specification » Tokens » Tokens","id":"1","title":"Tokens"},"10":{"body":"true\nfalse","breadcrumbs":"Specification » Tokens » Token Kinds » Literals » Booleans","id":"10","title":"Booleans"},"11":{"body":"","breadcrumbs":"Specification » Tokens » Token Kinds » Brackets » Brackets","id":"11","title":"Brackets"},"12":{"body":"","breadcrumbs":"Specification » Parser » Parser","id":"12","title":"Parser"},"13":{"body":"","breadcrumbs":"Specification » Parser » Expressionss","id":"13","title":"Expressionss"},"14":{"body":"Operator/Expression Associativity Parser fn name Impl Method calls Right to Left call ❌ Function calls Right to Left call ❌ ! ++ -- () ~ Left to Right factor ✅ ^ Left to Left power ✅ * / % Left to Right term ✅ + - Left to Right add_sub ✅ >> << Left to Right shift ❌ < <= > >= == != Left to Right cmp ❌ & Left to Right bit_and ❌ bxor Left to Right bit_xor ❌ | Left to Right bit_or ❌ == != < <= > >= Left to Right cmp ❌ && Left to Right logical_and ❌ || Left to Right logical_or ❌ .. Left to Right range ❌ ? : Left to Right ternary ❌ = := += -= *= /= ^= %= Right to Left assign ❌","breadcrumbs":"Specification » Parser » Operator priority","id":"14","title":"Operator priority"},"15":{"body":"This is chapter about how the code in SymboScript looks.","breadcrumbs":"Specification » Examples » Examples","id":"15","title":"Examples"},"2":{"body":"Token pub struct Token { /// Token Type pub kind: TokenKind, /// Start offset in source pub start: usize, /// End offset in source pub end: usize, pub value: TokenValue,\n} TokenValue pub enum TokenValue { None, Number(f64), String(String),\n}","breadcrumbs":"Specification » Tokens » Token format » Token format","id":"2","title":"Token format"},"3":{"body":"Thischapterdescribesthetokenkindsusedinthespec.KindspubenumTokenKind{Eof,// end of file Comment, Unexpected, Semicolon, Comma, Colon, Dot, // Operators Plus, Minus, Star, Slash, Power, Range, Modulo, // Bitwise operators (Keyword2Operator) BitAnd, BitOr, BitNot, BitXor, BitLeftShift, BitRightShift, // Unary operators PlusPlus, MinusMinus, Question, // Logic operators (Keyword2Operator) And, Or, Xor, Not, /// Assignments operators (+=, -=, *=, /=...) Assign, FormulaAssign, PlusAssign, MinusAssign, MultiplyAssign, DivideAssign, PowerAssign, ModuloAs