ParseNode.st
changeset 3542 14c0358f3c73
parent 3485 594e31290d7b
child 3553 8f7a25d595bc
equal deleted inserted replaced
3541:32ea4f318c3b 3542:14c0358f3c73
    65 
    65 
    66     "Created: / 16-02-2012 / 22:46:12 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    66     "Created: / 16-02-2012 / 22:46:12 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    67 !
    67 !
    68 
    68 
    69 endPosition
    69 endPosition
       
    70     "the node's last character position in the original source"
       
    71 
    70     ^ endPosition
    72     ^ endPosition
    71 !
    73 !
    72 
    74 
    73 endPosition:aCharacterPosition
    75 endPosition:aCharacterPosition
    74 
    76 
   150 
   152 
   151     "Created: 5.8.1997 / 16:32:17 / cg"
   153     "Created: 5.8.1997 / 16:32:17 / cg"
   152 !
   154 !
   153 
   155 
   154 startPosition
   156 startPosition
       
   157     "the node's character position in the original source"
       
   158 
   155     ^ startPosition
   159     ^ startPosition
   156 !
   160 !
   157 
   161 
   158 startPosition:start
   162 startPosition:start
   159 
   163 
   174 type
   178 type
   175     "return the nodes type"
   179     "return the nodes type"
   176 
   180 
   177     ^ type
   181     ^ type
   178 ! !
   182 ! !
       
   183 
   179 
   184 
   180 !ParseNode methodsFor:'attributes access'!
   185 !ParseNode methodsFor:'attributes access'!
   181 
   186 
   182 objectAttributes
   187 objectAttributes
   183 
   188 
   424 ^false.
   429 ^false.
   425 
   430 
   426     "Created: / 22-02-2011 / 16:29:50 / Jakub <zelenja7@fel.cvut.cz>"
   431     "Created: / 22-02-2011 / 16:29:50 / Jakub <zelenja7@fel.cvut.cz>"
   427 ! !
   432 ! !
   428 
   433 
       
   434 
       
   435 
   429 !ParseNode methodsFor:'printing & storing'!
   436 !ParseNode methodsFor:'printing & storing'!
   430 
   437 
   431 printOn:aStream
   438 printOn:aStream
   432     "append a user printed representation of the receiver to aStream.
   439     "append a user printed representation of the receiver to aStream.
   433      The format is suitable for a human - not meant to be read back."
   440      The format is suitable for a human - not meant to be read back."
   685     "return true, if this is a node for a return expression"
   692     "return true, if this is a node for a return expression"
   686 
   693 
   687     ^ false
   694     ^ false
   688 !
   695 !
   689 
   696 
   690 isSelector
       
   691     ^ false
       
   692 
       
   693     "Created: / 07-03-2014 / 22:16:25 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
   694 !
       
   695 
       
   696 isSelf
   697 isSelf
   697     "return true, if this is a self-node"
   698     "return true, if this is a self-node"
   698 
   699 
   699     ^ false
   700     ^ false
   700 !
   701 !
   742 ! !
   743 ! !
   743 
   744 
   744 !ParseNode class methodsFor:'documentation'!
   745 !ParseNode class methodsFor:'documentation'!
   745 
   746 
   746 version
   747 version
   747     ^ '$Header: /cvs/stx/stx/libcomp/ParseNode.st,v 1.82 2014-06-13 10:24:21 cg Exp $'
   748     ^ '$Header: /cvs/stx/stx/libcomp/ParseNode.st,v 1.83 2014-12-05 16:40:58 cg Exp $'
   748 !
   749 !
   749 
   750 
   750 version_CVS
   751 version_CVS
   751     ^ '$Header: /cvs/stx/stx/libcomp/ParseNode.st,v 1.82 2014-06-13 10:24:21 cg Exp $'
   752     ^ '$Header: /cvs/stx/stx/libcomp/ParseNode.st,v 1.83 2014-12-05 16:40:58 cg Exp $'
   752 ! !
   753 ! !
   753 
   754