Examples of LineNumberMap


Examples of flex2.compiler.util.LineNumberMap

      }
  }

    public void logError(String path, int line, String error)
    {
        LineNumberMap map = null;
        if ((map = matchPath(path)) != null)
        {
            if (isUserDefined(map, line))
            {
                original.logError(map.getOldName(), map.get(line), error);
            }
            else
            {
                original.logError(path, line, error);
            }
View Full Code Here

Examples of flex2.compiler.util.LineNumberMap

        }
    }

  public void logError(String path, int line, String error, int errorCode)
  {
      LineNumberMap map = null;
      if ((map = matchPath(path)) != null)
      {
          if (isUserDefined(map, line))
          {
              original.logError(map.getOldName(), map.get(line), error, errorCode);
          }
          else
          {
              original.logError(path, line, error, errorCode);
          }
View Full Code Here

Examples of flex2.compiler.util.LineNumberMap

      }
  }

    public void logInfo(String path, int line, int col, String info)
    {
        LineNumberMap map = null;
        if ((map = matchPath(path)) != null)
        {
            if (isUserDefined(map, line))
            {
                original.logInfo(map.getOldName(), map.get(line), info);
            }
            else
            {
                original.logInfo(path, line, col, info);
            }
View Full Code Here

Examples of flex2.compiler.util.LineNumberMap

        }
    }

    public void logDebug(String path, int line, int col, String debug)
    {
        LineNumberMap map = null;
        if ((map = matchPath(path)) != null)
        {
            if (isUserDefined(map, line))
            {
                original.logDebug(map.getOldName(), map.get(line), debug);
            }
            else
            {
                original.logDebug(path, line, col, debug);
            }
View Full Code Here

Examples of flex2.compiler.util.LineNumberMap

        }
    }

    public void logWarning(String path, int line, int col, String warning)
    {
        LineNumberMap map = null;
        if ((map = matchPath(path)) != null)
        {
            if (isUserDefined(map, line))
            {
                original.logWarning(map.getOldName(), map.get(line), warning);
            }
            else
            {
                original.logWarning(path, line, col, warning);
            }
View Full Code Here

Examples of flex2.compiler.util.LineNumberMap

        }
    }

    public void logError(String path, int line, int col, String error)
    {
        LineNumberMap map = null;
        if ((map = matchPath(path)) != null)
        {
            if (isUserDefined(map, line))
            {
                original.logError(map.getOldName(), map.get(line), error);
            }
            else
            {
                original.logError(path, line, col, error);
            }
View Full Code Here

Examples of flex2.compiler.util.LineNumberMap

    public void logWarning(String path, int line, int col, String warning, String source)
    {
        warning = mapRenamedVariables(warning);

        LineNumberMap map = null;
        if ((map = matchPath(path)) != null)
        {
            if (isUserDefined(map, line))
            {
                if (messages == null)
                {
                    messages = new HashMap<String, String>();
                }

                String key = map.getOldName() + map.get(line);
                if (!warning.equals(messages.get(key)))
                {
                    original.logWarning(map.getOldName(), map.get(line), warning);
                    messages.put(key, warning);
                }
            }
            else
            {
View Full Code Here

Examples of flex2.compiler.util.LineNumberMap

  public void logWarning(String path, int line, int col, String warning, String source, int errorCode)
  {
      warning = mapRenamedVariables(warning);

      LineNumberMap map = null;
      if ((map = matchPath(path)) != null)
      {
          if (isUserDefined(map, line))
          {
              if (messages == null)
              {
                  messages = new HashMap<String, String>();
              }

              String key = map.getOldName() + map.get(line);
              if (!warning.equals(messages.get(key)))
              {
                  original.logWarning(map.getOldName(), map.get(line), warning, errorCode);
                  messages.put(key, warning);
              }
          }
          else
          {
View Full Code Here

Examples of flex2.compiler.util.LineNumberMap

      }
  }

    public void logError(String path, int line, int col, String error, String source)
    {
        LineNumberMap map = null;
        if ((map = matchPath(path)) != null)
        {
            if (isUserDefined(map, line))
            {
                if (messages == null)
                {
                    messages = new HashMap<String, String>();
                }

                String key = map.getOldName() + map.get(line);
                if (!error.equals(messages.get(key)))
                {
                    //  don't pass source from "new" file; force logger to look up "old" line
                    original.logError(map.getOldName(), map.get(line), error);
                    messages.put(key, error);
                }
            }
            else
            {
View Full Code Here

Examples of flex2.compiler.util.LineNumberMap

        }
    }

  public void logError(String path, int line, int col, String error, String source, int errorCode)
  {
      LineNumberMap map = null;
      if ((map = matchPath(path)) != null)
      {
          if (isUserDefined(map, line))
          {
              if (messages == null)
              {
                  messages = new HashMap<String, String>();
              }

              String key = map.getOldName() + map.get(line);
              if (!error.equals(messages.get(key)))
              {
                  //  don't pass source from "new" file; force logger to look up "old" line
                  original.logError(map.getOldName(), map.get(line), error, errorCode);
                  messages.put(key, error);
              }
          }
          else
          {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.