SYMBOL INDEX (111 symbols across 17 files) FILE: 1 creational/1_constructor.js class Server (line 10) | class Server { method constructor (line 11) | constructor(name, ip) { method getUrl (line 16) | getUrl() { FILE: 1 creational/2_factory.js class SimpleMembership (line 1) | class SimpleMembership { method constructor (line 2) | constructor(name) { class StandardMembership (line 8) | class StandardMembership { method constructor (line 9) | constructor(name) { class PremiumMembership (line 15) | class PremiumMembership { method constructor (line 16) | constructor(name) { class MemberFactory (line 22) | class MemberFactory { method create (line 29) | create(name, type = 'simple') { FILE: 1 creational/3_prototype.js method init (line 4) | init() { FILE: 1 creational/4_singleton.js class Database (line 1) | class Database { method constructor (line 2) | constructor(data) { method getData (line 11) | getData() { FILE: 2 structural/5_adapter.js class OldCalc (line 1) | class OldCalc { method operations (line 2) | operations(t1, t2, operation) { class NewCalc (line 11) | class NewCalc { method add (line 12) | add(t1, t2) { method sub (line 16) | sub(t1, t2) { class CalcAdapter (line 21) | class CalcAdapter { method constructor (line 22) | constructor() { method operations (line 26) | operations(t1, t2, operation) { FILE: 2 structural/6_decorator.js class Server (line 1) | class Server { method constructor (line 2) | constructor(ip, port) { method url (line 7) | get url() { function aws (line 12) | function aws(server) { function azure (line 20) | function azure(server) { FILE: 2 structural/7_facade.js class Complaints (line 1) | class Complaints { method constructor (line 2) | constructor() { method reply (line 6) | reply(complaint) {} method add (line 8) | add(complaint) { class ProductComplaints (line 14) | class ProductComplaints extends Complaints { method reply (line 15) | reply({id, customer, details}) { class ServiceComplaints (line 20) | class ServiceComplaints extends Complaints { method reply (line 21) | reply({id, customer, details}) { class ComplaintRegistry (line 26) | class ComplaintRegistry { method register (line 27) | register(customer, type, details) { FILE: 2 structural/8_flyweight.js class Car (line 1) | class Car { method constructor (line 2) | constructor(model, price) { class CarFactory (line 8) | class CarFactory { method constructor (line 9) | constructor() { method create (line 13) | create(model, price) { method getCar (line 24) | getCar(model) { FILE: 2 structural/9_proxy.js function networkFetch (line 1) | function networkFetch(url) { method apply (line 7) | apply(target, thisArg, args) { FILE: 3 behaviour/10_chain_of_responsibility.js class MySum (line 1) | class MySum { method constructor (line 2) | constructor(initialValue = 42) { method add (line 6) | add(value) { FILE: 3 behaviour/11_comand.js class MyMath (line 1) | class MyMath { method constructor (line 2) | constructor(initialValue = 0) { method square (line 6) | square() { method cube (line 10) | cube() { class Command (line 15) | class Command { method constructor (line 16) | constructor(subject) { method execute (line 21) | execute(command) { FILE: 3 behaviour/12_iterator.js class MyIterator (line 1) | class MyIterator { method constructor (line 2) | constructor(data) { method [Symbol.iterator] (line 7) | [Symbol.iterator]() { FILE: 3 behaviour/13_mediator.js class User (line 1) | class User { method constructor (line 2) | constructor(name) { method send (line 7) | send(message, to) { method receive (line 11) | receive(message, from) { class ChatRoom (line 16) | class ChatRoom { method constructor (line 17) | constructor() { method register (line 21) | register(user) { method send (line 26) | send(message, from, to) { FILE: 3 behaviour/14_observer.js class Subject (line 1) | class Subject { method constructor (line 2) | constructor() { method subscribe (line 6) | subscribe(observer) { method unsubscribe (line 10) | unsubscribe(observer) { method fire (line 14) | fire(action) { class Observer (line 21) | class Observer { method constructor (line 22) | constructor(state = 1) { method update (line 27) | update(action) { FILE: 3 behaviour/15_state.js class Light (line 1) | class Light { method constructor (line 2) | constructor(light) { class RedLight (line 7) | class RedLight extends Light { method constructor (line 8) | constructor() { method sign (line 12) | sign() { class YellowLight (line 17) | class YellowLight extends Light { method constructor (line 18) | constructor() { method sign (line 22) | sign() { class GreenLight (line 27) | class GreenLight extends Light { method constructor (line 28) | constructor() { method sign (line 32) | sign() { class TrafficLight (line 37) | class TrafficLight { method constructor (line 38) | constructor() { method change (line 47) | change() { method sign (line 58) | sign() { FILE: 3 behaviour/16_strategy.js class Vehicle (line 1) | class Vehicle { method travelTime (line 2) | travelTime() { class Bus (line 7) | class Bus extends Vehicle { method constructor (line 8) | constructor() { class Taxi (line 14) | class Taxi extends Vehicle { method constructor (line 15) | constructor() { class Car (line 21) | class Car extends Vehicle { method constructor (line 22) | constructor() { class Commute (line 28) | class Commute { method travel (line 29) | travel(transport) { FILE: 3 behaviour/17_template.js class Employee (line 1) | class Employee { method constructor (line 2) | constructor(name, salary) { method responsibilities (line 7) | responsibilities() {} method work (line 9) | work() { method getPaid (line 13) | getPaid() { class Developer (line 18) | class Developer extends Employee { method constructor (line 19) | constructor(name, salary) { method responsibilities (line 23) | responsibilities() { class Tester (line 28) | class Tester extends Employee { method constructor (line 29) | constructor(name, salary) { method responsibilities (line 33) | responsibilities() {