archive-org.com » ORG » I » IOKE.ORG

Total: 746

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • File: H50_struct.ik
    struct ik Modified fluxie Defined methods IokeGround Struct IokeGround Struct IokeGround Struct asText IokeGround Struct attributes IokeGround Struct create IokeGround Struct hash IokeGround Struct inspect IokeGround Struct internal createDerived IokeGround Struct internal createInitial IokeGround Struct notice IokeGround Struct seq IokeGround

    Original URL path: https://ioke.org/dok/release/files/builtin/H50_struct.html (2016-02-13)
    Open archived version from archive


  • File: J05_javaGround.ik
    File J05 javaGround ik Path builtin J05 javaGround ik Modified fluxie Defined methods java coerceCode LexicalBlock report Condition Error Java NoMatch Defined macros Defined syntax

    Original URL path: https://ioke.org/dok/release/files/builtin/J05_javaGround.html (2016-02-13)
    Open archived version from archive

  • Kind: DefaultBehavior
    show source Arity from one asText should one should return the argumentsCode for a simple keyword show source Arity from two 2 asText should two 2 should return the argumentsCode having rest arg show source Arity from one two 2 rest asText should one two 2 rest should return the argumentsCode having krest arg show source Arity from one two 2 rest krest asText should one two 2 rest krest from arguments Create an Arity object from the given messages The list of unevaluated messages given to this method will be used as if they were the arguments part of a DefaultMethod definition Arity from should return an empty arity if given no arguments show source Arity from should Arity taking nothing should return the arity for the given arguments definition show source a Arity from a b 0 c rest krest a should mimic Arity a should not Arity taking nothing a should not Arity taking everything fromArgumentsCode argumentsCode nil show source method argumentsCode case argumentsCode or nil taking nothing taking everything msg Message fromText from argumentsCode if msg next error Invalid argumentsCode argumentsCode msg sendTo self Arity fromArgumentsCode should return an empty arity if given nil show source Arity fromArgumentsCode nil should Arity taking nothing should return an empty arity if given an empty text show source Arity fromArgumentsCode should Arity taking nothing should return taking everything for show source Arity fromArgumentsCode should Arity taking everything should return the arity for the given argumentsCode show source a Arity fromArgumentsCode a b 0 c rest krest a should mimic Arity a should not Arity a should not Arity taking nothing a should not Arity taking everything should raise an error when given an invalid argumentsCode show source fn Arity fromArgumentsCode should signal Condition Error fn Arity fromArgumentsCode should signal Condition Error keywords returns the names for keyword arguments Arity keywords should return empty for taking nothing show source Arity taking nothing keywords should be empty should return empty for taking everything show source Arity taking everything keywords should be empty should return keyword argument names show source Arity from a b c d keywords should a b krest returns the symbol name for the krest argument Arity krest should return nil for taking nothing show source Arity taking nothing krest should be nil should return nil for taking everything show source Arity taking everything krest should be nil should return nil when not krest argument is present show source Arity from foo krest should be nil should return the symbol name for the krest argument show source Arity from foo bar krest should bar max Return the maximum number of positional arguments A negative value indicates rest positional arguments show source method cond takeNothing 0 takeEverything 1 rest 1 positionals true length 1 positionals true length Arity max should be 0 for taking nothing show source Arity taking nothing max should 0 should be 1 for taking everything show source Arity taking everything max should 1 should return max

    Original URL path: https://ioke.org/dok/release/kinds/Arity.html (2016-02-13)
    Open archived version from archive

  • Kind: DefaultBehavior
    show source a Arity from a b 1 c applyOn Origin mimic a 1 d 2 b 3 9 a extraPositional should 9 should be empty if no extra positional arguments given show source a Arity from a 0 b 1 k applyOn Origin mimic 2 3 f 22 a extraPositional should be empty Arity Arguments keywords should be empty for taking nothing show source Arity taking nothing applyOn Origin mimic a 1 keywords should be empty should be empty for taking everything show source Arity taking everything applyOn Origin mimic a 1 keywords should be empty should contain the keyword arguments but not krest show source a Arity from a b 1 c applyOn Origin mimic a 1 d 2 b 3 a keywords size should 2 a keywords a should 1 a keywords b should 3 should be empty if no keyword arguments given show source a Arity from a 0 b 1 c krest applyOn Origin mimic 2 3 a keywords should be empty Arity Arguments krest should be empty for taking nothing show source Arity taking nothing applyOn Origin mimic 1 2 krest should be empty should be include elements for taking everything show source a Arity taking everything applyOn Origin mimic a 1 b 2 a krest size should 2 a krest a should 1 a krest b should 2 should be empty if no krest argument defined show source a Arity from a d 2 b 1 applyOn Origin mimic 1 3 b 3 a krest should be empty should contain the krest arguments if given show source a Arity from a b 1 d c applyOn Origin mimic a 1 d 2 b 3 9 a krest size should 1 a krest d should 2 should be empty if no krest arguments given show source a Arity from a 0 b 1 c k applyOn Origin mimic 2 3 a krest should be empty Arity Arguments missing should be empty for taking nothing show source a Arity taking nothing applyOn Origin mimic 1 b 2 a missing should be empty should be empty for taking everything show source a Arity taking everything applyOn Origin mimic 1 b 2 a missing should be empty should be empty if no required arguments are missing show source a Arity from a b applyOn Origin mimic 1 2 a missing should be empty should include the names of required arguments that are missing show source a Arity from a b c 2 applyOn Origin mimic a missing should a b a Arity from a b c 2 applyOn Origin mimic 1 a missing should b Arity Arguments order should be zero for taking nothing without args show source a Arity taking nothing applyOn Origin mimic a order should 0 should be positive for taking nothing with args show source a Arity taking nothing applyOn Origin mimic 1 b 2 a order should 2 should be zero for taking everything without args show source a Arity taking everything

    Original URL path: https://ioke.org/dok/release/kinds/Arity/Arguments.html (2016-02-13)
    Open archived version from archive

  • Kind: DefaultBehavior
    owner of a cell show source x Origin mimic y x mimic x foo 123 y foo bar x cellOwner foo should be same x y cellOwner foo should be same y x mimic cellOwner foo should be same x should signal a condition if there is no such cell show source fn Origin cellOwner test cell owner should signal Condition Error NoSuchCell should offer an ignore restart if the cell can t be found show source fn Origin cellOwner test cell owner should offer restart ignore fn fn Origin cellOwner test cell owner should returnFromRestart ignore nil cellOwner cellName expects one evaluated text or symbol argument and returns a boolean indicating whether this cell is owned by the receiver or not the assumption is that the cell should exist if it doesn t exist a NoSuchCell condition will be signalled Base cellOwner should return true if the cell name is owned by this object show source x Origin mimic y x mimic x foo 123 y foo bar x cellOwner foo should be true y cellOwner foo should be true should return false if the cell name is owned by another object show source x Origin mimic y x mimic x foo 123 y cellOwner foo should be false should signal a condition if there is no such cell show source fn Origin cellOwner test cell owner should signal Condition Error NoSuchCell should offer an ignore restart if the cell can t be found show source fn Origin cellOwner test cell owner should offer restart ignore fn fn Origin cellOwner test cell owner should returnFromRestart ignore false cells includeMimics false takes one optional evaluated boolean argument which defaults to false if false this method returns a dict of the cell names and values of the receiver if true it returns the cell names and values of this object and all it s mimics recursively Base cells should return the cells of this object by default show source x Origin mimic x cells should x Origin mimic x f 13 x cells should f 13 x Origin mimic x f 13 x Why 1 x cells should f 13 Why 1 x Origin mimic x Why 1 x f 13 x cells should f 13 Why 1 should take a boolean when given will make it return all cells in both this and it s parents objects show source x Base mimic x cells true should kind Base cell kind mimic Base cell mimic Base cell Base cell hash Base cell hash documentation Base cell documentation documentation Base cell documentation cell Base cell cell identity Base cell identity cellNames Base cell cellNames cells Base cell cells cell Base cell cell notice Base inspect Base removeCell Base cell removeCell undefineCell Base cell undefineCell cellOwner Base cell cellOwner cellOwner Base cell cellOwner cell Base cell cell x Base mimic x kind blarg x cells true should kind blarg mimic Base cell mimic Base cell Base cell hash Base cell hash documentation Base

    Original URL path: https://ioke.org/dok/release/kinds/Base.html (2016-02-13)
    Open archived version from archive

  • Kind: DefaultBehavior
    x should signal Condition Error Index arguments returns a list of all the unevaluated arguments Call arguments should return all arguments in a list unevaluated show source x macro call arguments x foo bar x rrr 0 name should foo x foo bar x rrr 1 name should x should check the receiver type and signal an appropriate condition show source Call should checkReceiverTypeOn arguments currentContext returns the currently executing context Call currentContext should check the receiver type and signal an appropriate condition show source Call should checkReceiverTypeOn currentContext evaluatedArguments returns a list of the result of evaluating all the arguments to this call Call evaluatedArguments should return a list of all the evaluated arguments show source x macro call evaluatedArguments x 13 55 18 18 3 2 0 should 68 x 13 55 18 18 3 2 1 should 36 x 13 55 18 18 3 2 2 should 1 should check the receiver type and signal an appropriate condition show source Call should checkReceiverTypeOn evaluatedArguments ground returns the ground of the place this call originated Call ground should return the surrounding context of the call show source x macro call ground should x should check the receiver type and signal an appropriate condition show source Call should checkReceiverTypeOn ground message returns the message that started this call Call message should return the message used to invoke this call show source x macro call message x name should x should check the receiver type and signal an appropriate condition show source Call should checkReceiverTypeOn message receiver returns the receiver of the call Call receiver should check the receiver type and signal an appropriate condition show source Call should checkReceiverTypeOn receiver resendToMethod cellName takes one evaluated text or symbol argument and resends the current message to that method macro on

    Original URL path: https://ioke.org/dok/release/kinds/Call.html (2016-02-13)
    Open archived version from archive

  • Kind: DefaultBehavior
    cells kind Active cells report Specs Condition Default should have the right kind show source Condition Default should have kind Condition Default Condition Error should have the right kind show source Condition Error should have kind Condition Error Condition Warning should have the right kind show source Condition Warning should have kind Condition Warning Inactive cells details kind Condition Active cells details report default implementation of reporting that only prints

    Original URL path: https://ioke.org/dok/release/kinds/Condition.html (2016-02-13)
    Open archived version from archive

  • Kind: DefaultBehavior
    Kind Condition Default Main mimic Condition Mimics Condition Inactive cells kind Active cells Specs Inactive cells details kind Condition Default Active cells details

    Original URL path: https://ioke.org/dok/release/kinds/Condition/Default.html (2016-02-13)
    Open archived version from archive



  •