oken type="Punctuation"/>
        <pop depth="1"/>
      </rule>
      <rule pattern="(lookup)(\s+)(\.|this)(\s+)">
        <bygroups>
          <token type="Keyword"/>
          <token type="Text"/>
          <token type="NameVariable"/>
          <token type="Text"/>
        </bygroups>
      </rule>
      <rule pattern="(lookup)(\s+)(\S+)">
        <bygroups>
          <token type="Keyword"/>
          <token type="Text"/>
          <usingself state="variable"/>
        </bygroups>
      </rule>
      <rule pattern="[\w-]+">
        <token type="NameFunction"/>
      </rule>
      <rule>
        <include state="generic"/>
      </rule>
    </state>
    <state name="variable">
      <rule pattern="[a-zA-Z][\w-]*">
        <token type="NameVariable"/>
      </rule>
      <rule pattern="\.[\w-]+">
        <token type="NameVariable"/>
      </rule>
      <rule pattern="(this\/|\.\/|(\.\.\/)+)[\w-]+">
        <token type="NameVariable"/>
      </rule>
    </state>
    <state name="generic">
      <rule>
        <include state="variable"/>
      </rule>
      <rule pattern=":?&#34;(\\\\|\\&#34;|[^&#34;])*&#34;">
        <token type="LiteralStringDouble"/>
      </rule>
      <rule pattern=":?&#39;(\\\\|\\&#39;|[^&#39;])*&#39;">
        <token type="LiteralStringSingle"/>
      </rule>
      <rule pattern="[0-9](\.[0-9]*)?(eE[+-][0-9])?[flFLdD]?|0[xX][0-9a-fA-F]+[Ll]?">
        <token type="LiteralNumber"/>
      </rule>
    </state>
  </rules>
</lexer>