Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
babel.plural._JavaScriptCompiler Class Reference
Inheritance diagram for babel.plural._JavaScriptCompiler:
Inheritance graph
[legend]
Collaboration diagram for babel.plural._JavaScriptCompiler:
Collaboration graph
[legend]

Public Member Functions

 compile_relation (self, method, expr, range_list)
 
- Public Member Functions inherited from babel.plural._Compiler
 compile (self, arg)
 

Static Public Attributes

str compile_i = lambda x: 'parseInt(n, 10)'
 
 compile_v = compile_zero
 
 compile_w = compile_zero
 
 compile_f = compile_zero
 
 compile_t = compile_zero
 
- Static Public Attributes inherited from babel.plural._GettextCompiler
 compile_i = _Compiler.compile_n
 
 compile_v = compile_zero
 
 compile_w = compile_zero
 
 compile_f = compile_zero
 
 compile_t = compile_zero
 
- Static Public Attributes inherited from babel.plural._Compiler
str compile_n = lambda x: 'n'
 
str compile_i = lambda x: 'i'
 
str compile_v = lambda x: 'v'
 
str compile_w = lambda x: 'w'
 
str compile_f = lambda x: 'f'
 
str compile_t = lambda x: 't'
 
str compile_c = lambda x: 'c'
 
str compile_e = lambda x: 'e'
 
str compile_value = lambda x, v(v)
 
 compile_and = _binary_compiler('(%s && %s)')
 
 compile_or = _binary_compiler('(%s || %s)')
 
 compile_not = _unary_compiler('(!%s)')
 
 compile_mod = _binary_compiler('(%s %% %s)')
 
 compile_is = _binary_compiler('(%s == %s)')
 
 compile_isnot = _binary_compiler('(%s != %s)')
 

Detailed Description

Compiles the expression to plain of JavaScript.

Member Function Documentation

◆ compile_relation()

babel.plural._JavaScriptCompiler.compile_relation (   self,
  method,
  expr,
  range_list 
)

Reimplemented from babel.plural._GettextCompiler.


The documentation for this class was generated from the following file: