Book/searchindex.js

1 line
41 KiB
JavaScript
Raw Normal View History

Object.assign(window.search, {"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":54,"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 Evaluation priority Implementation ! ++ -- () Literals Identifiers Left to Right factor 1 ✅ ^ Left to Left power 2 ✅ * / % Left to Right term 3 ✅ + - Left to Right add_sub 4 ✅ >> << Left to Right shift 5 ❌ < <= > >= == != Left to Right cmp 6 ❌ & Left to Right bit_and 7 ❌ | Left to Right bit_or 8 ❌ == != < <= > >= Left to Right cmp 9 ❌ && Left to Right logical_and 10 ❌ || Left to Right logical_or 11 ❌","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":"This chapter describes the token kinds used in the spec. Kinds pub enum TokenKind { 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, ModuloAssign, // Comparison operators Equal, NotEqual, Less, LessEqual, Greater, GreaterEqual, // Brackets LParen, R